-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Log to file option (L switch) is not working #563
Comments
try to add -d option |
it's used for daemon mode, so I am afraid that input may break in that case |
I don't use manual input (only LUA scripting) so it's fine. Tried setting -d, still didn't work. Using latest 1.3.1 |
|
Thanks, this sorted it out. I do get the following error logged now:
Any idea what it means? |
it's some error inside libevent. In most cases it isn't something bad |
One more question about this - what are the differences between regular and daemon modes, other then lack of console? |
@vysheng Also, is there a way to create a PID file (for monitoring by an external watchdog)? |
The L switch doesn't seem to create a log file on disk, e.g. setting it to:
-L /var/log/telebot.log does nothing, even when launching with root permissions.
Any idea how to enable the disk log files?
The text was updated successfully, but these errors were encountered: