diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2019-03-08 15:08:36 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2019-04-08 22:10:51 +0200 |
commit | 2d3f1be6a495143d7e82f6396a49dfff6cabc3e4 (patch) | |
tree | ab29026f4252f68fe40864eae6c8d064db975061 /lib/agent/apiv1-config.go | |
parent | e84a0fe4302e6dc56add83890e9629066fef97c3 (diff) |
Fix logfile setting
Logic to set logs file is:
- default 'stdout' (logfile option default value)
- else use file (or filepath) set by --logfile option
- else use LogsDir field of config file
Change-Id: I980e095d97cb06774fd03921ccae6e176af91984
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/agent/apiv1-config.go')
0 files changed, 0 insertions, 0 deletions