Update README.md

This commit is contained in:
SpudGunMan
2025-01-12 21:56:45 -08:00
parent 3d5b671d81
commit 053acd1ac6

View File

@@ -1,11 +1,14 @@
# Logs and Reports
Logs will collect here. Give a day of logs or a bunch of messages to have good reports.
## Reporting Note
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! ‼️
![reportView](../etc/reporting.jpg)
## Settings
Logging messages to disk or 'Syslog' to disk uses the python native logging function.
```conf
[general]
@@ -18,7 +21,7 @@ sysloglevel = DEBUG
# Number of log files to keep in days, 0 to keep all
log_backup_count = 32
```
## Web Reporting WebServer
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.
find it at. http://localhost:8420