From 3d5b671d81e12b0308a447359f8ac7763f040daa Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 12 Jan 2025 21:55:52 -0800 Subject: [PATCH] Update README.md --- logs/README.md | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/logs/README.md b/logs/README.md index f54d005..11a01d3 100644 --- a/logs/README.md +++ b/logs/README.md @@ -3,12 +3,11 @@ Logs will collect here. Give a day of logs or a bunch of messages to have good r Reporting is via [../etc/report_generator5.py](../etc/report_generator5.py). The report_generator5 has newer feel and HTML5 coding. The index.html output is published in [../etc/www](../etc/www) there is a .cfg file created on first run for configuring values as needed. - `multi_log_reader = True` on by default will read all logs (or set to false to return daily logs) - Make sure to have `SyslogToFile = True` and default of DEBUG log level to fully enable reporting! ‼️ - - provided serviceTimer templates in etc/ ![reportView](../etc/reporting.jpg) Logging messages to disk or 'Syslog' to disk uses the python native logging function. -``` +```conf [general] # logging to file of the non Bot messages only LogMessagesToFile = False @@ -20,12 +19,6 @@ sysloglevel = DEBUG log_backup_count = 32 ``` -To change the stdout (what you see on the console) logging level (default is DEBUG) see the following example, line is in [../modules/log.py](../modules/log.py) +There is a web-server module. You can run `python modules/web.py` from the project root directory and it will serve up the web content. -``` -# Set level for stdout handler -stdout_handler.setLevel(logging.INFO) -``` - -There is a web-server module you can run `python modules/web.py` from the project root directory and it will serve up the web content. -by default. http://localhost:8420 \ No newline at end of file +find it at. http://localhost:8420 \ No newline at end of file