PaulD
07/19/2019, 12:26 PMfilesystem:
result_log_file: /opt/fleet/log/result.log
status_log_file: /opt/fleet/log/status.log
enable_log_rotation: true
but in /opt/fleet/log, I can see nothing. I wondered if this could be an access problem, but my Fleet has normally all the rights to write into this folder.sundsta
07/19/2019, 3:35 PMls -l /opt/fleet
and ls -l /opt/fleet/log
PaulD
07/19/2019, 5:49 PMdrwxr-xr-x 19 kolide root 4096 juil. 16 15:28 fleet/
and every file or folder inside are also owned by kolide (the user who starts the fleet service) but that doesn't make it works, I still have nothing of my log folder :
root@ubuntu_server_test:/opt/fleet# ls log
root@ubuntu_server_test:/opt/fleet#
(of course I did restart the service)sundsta
07/19/2019, 6:09 PMsudo journalctl -u fleet
benbass
07/19/2019, 6:16 PMPaulD
07/19/2019, 6:19 PMjuil. 16 15:40:16 ubuntu_server_test fleet[4274]: Using config file: /opt/fleet/etc/kolide.yml
juil. 16 15:40:16 ubuntu_server_test fleet[4274]: {"component":"service","err":null,"method":"ListUsers","took":"624.15µs","ts":"2019-07-16T13:40:16.976668763Z","user":"none"}
juil. 16 15:40:16 ubuntu_server_test fleet[4274]: {"address":"myAddress","msg":"listening","transport":"https","ts":"2019-07-16T13:40:16.977385279Z"}
juil. 16 15:40:17 ubuntu_server_test fleet[4274]: {"component":"service","err":null,"method":"User","took":"204.626174ms","ts":"2019-07-16T13:40:17.347686596Z","user":"crabcrabe"}
juil. 16 15:40:17 ubuntu_server_test fleet[4274]: {"component":"service","err":null,"method":"GetHostSummary","took":"118.227042ms","ts":"2019-07-16T13:40:17.467542294Z"}
juil. 16 15:40:17 ubuntu_server_test fleet[4274]: {"component":"service","err":null,"method":"User","took":"97.914938ms","ts":"2019-07-16T13:40:17.491583979Z","user":"crabcrabe"}
juil. 16 15:40:17 ubuntu_server_test fleet[4274]: {"component":"service","err":null,"method":"User","took":"106.390353ms","ts":"2019-07-16T13:40:17.569026924Z","user":"crabcrabe"}