-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Better logging required #77
Comments
A start on this has been made, and is now merged to This now means:
Post 1.0:
|
Is there any way to enable logging at startup, instead of explicity with When something goes wrong as Fvwm is setting itself up, the old log in |
You can pass Pull from |
Pulling from Some issues I've noticed:
|
Previously, the log file written to by fvwm3 used to contain the pid in the file name. This isn't useful, and since the log file is opened in append mode anyway, it makes more sense to remove this. Also added a description to the man page. Helps with #77
Previously, the log file written to by fvwm3 used to contain the pid in the file name. This isn't useful, and since the log file is opened in append mode anyway, it makes more sense to remove this. Also added a description to the man page. Helps with #77
Hi @afhp-2020, Yeah. Removing the PID from the filename makes sense here. Since the log file is opened in append mode, this should keep writing to it. I'm about to merge to master a fix for this, such that the log file is: Restarting fvwm3 keeps appending to this file, and I don't need to keep toggling fvwm3 via |
Previously, the log file written to by fvwm3 used to contain the pid in the file name. This isn't useful, and since the log file is opened in append mode anyway, it makes more sense to remove this. Also added a description to the man page. Helps with #77
Hi Thomas, Very little time in the last weeks, but before my wife spots me in the front of the monitor on a weekend day (!), please tell me what you think of this:
Some people will probably have often or permanent logging turned on, and creating file with fixed file name in $HOME is maybe not flexible enough. Should I create pull request? |
Hi @NsCDE, Can do -- although this is all rather micro-arbitrary stuff. Please submit a PR for this, but note that:
Thomas |
Previously, the log file written to by fvwm3 used to contain the pid in the file name. This isn't useful, and since the log file is opened in append mode anyway, it makes more sense to remove this. Also added a description to the man page. Helps with fvwmorg#77
At the moment, FVWM3's logging is OK if you know where to look, but ultimately overly verbose.
We should standardise on using something like
log_debug()
to do our logging for us, and allowing the user to set a path/filename to the log file.This should be toggleable via
USR2
, for example.Auditing of existing
fvwm_msg()
callers should be done to determine what's still relevant.A start on this should be made for milestone 1.0 if possible. See:
ta/logging
The text was updated successfully, but these errors were encountered: