Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid argument when setting logdir after RPM install #29

Open
sbengo opened this issue Oct 18, 2018 · 0 comments
Open

Invalid argument when setting logdir after RPM install #29

sbengo opened this issue Oct 18, 2018 · 0 comments

Comments

@sbengo
Copy link
Collaborator

sbengo commented Oct 18, 2018

If log dir is set on pseriecollector.toml the following error will appear and it won't create the log file:

pseriescollector[#PID#]: Failed to write to log, invalid argument

Config:

pseriescollector.toml:
...
[general]
 #InstanceID will be a string identifiing the collector , It will be usefull when
 # more than one running on the same server, this ID will be shown in the WebUI.
 instanceID = "pseriescollector_PRO"
 #there are as many logs as devices configured and
 #logdir set the Directory path for each device individual log
 logdir = "./log"
 #NOTE: main process log is now sent to standar ouput
 # logLevel set de main process log level
 # valid values: panic,fatal,error,warn,info,debug
 logLevel = "debug"
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant