https://bugs.gpodder.org/show_bug.cgi?id=1460
--- Comment #5 from [email protected] 2011-10-30 19:19:07 GMT --- (In reply to comment #4) > (In reply to comment #3) > > Should the log files be in a subdirectory? > > Yes if there will be multiple log files. No if there is just one. (Reasons for > and against having multiple/one file?) > > > Do you really want the log files to be named logfile.txt? > > Do you have another suggestion? If we have multiple files, we could add the > date/time to the filename, but do we delete old files then, and if so, when? The current patch creates one log file per day and keeps at most 5 old logs. This makes rotation easy and prevents log bloat. I can't think of any notable reasons to prefer a single log file. Currently, the files are named ~/.gpodder/logs/gpodder-YYYYMMDD.log. Other gPodder applications could also use the logging mechanism with a different prefix, e.g., the web backend could use 'webui' as the prefix, and the command line interface, 'gpo. This would create logs called ~/.gpodder/logs/webui-YYYYMMDD.log and ~/.gpodder/logs/gpo-YYYYMMDD.log, respectively. This is necessary as I think it is better to avoid having multiple programs log to the same file at the same time. I'll change the prefix to gpodder.home, as you suggested. Otherwise, do you agree with this approach? -- Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ gPodder-Bugs mailing list [email protected] https://lists.berlios.de/mailman/listinfo/gpodder-bugs
