You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logging module can rely on the already implemented transport level logging as found here
at every interval (can be hardcoded for now), the transport module will iterate over the open transports and add a new line to the log file for the given day
a new line will be added with the following information that will be aggregated for all transports open
timestamp of the addition of the line
number of bytes received since last write
number of bytes sent since last write
at transport closure, a hook will be triggered to write the bytes received and sent over this transport if its larger than 0 bytes received or 0 bytes sent
at visor shutdown, a hook will be triggered to start log writing routine
log files will be structured the following way
# structure of the log directory with single day log files named after the day of their creation.
├── local
│ ├── logs
│ │ └── 2022-09-04.csv
│ │ └── 2022-09-03.csv
│ │ └── 2022-09-02.csv
│ ├── privacy.json
│ ├── logs.json
│ ├── system.json
if a log file is not found for a given day, it will be created by the logging code in the transport module
the log files will be encoded as a simple csv format with the following header line
# timestamp as unix timestamp
timestamp, bytes_received, bytes_sent
transport module will have built in routine that triggers cleanup of existing log file according to specified log rotation interval
cleanup all log files where age of the file is older than specified log rotation interval
The text was updated successfully, but these errors were encountered:
logging module can rely on the already implemented transport level logging as found here
at every interval (can be hardcoded for now), the transport module will iterate over the open transports and add a new line to the log file for the given day
at transport closure, a hook will be triggered to write the bytes received and sent over this transport if its larger than 0 bytes received or 0 bytes sent
at visor shutdown, a hook will be triggered to start log writing routine
log files will be structured the following way
The text was updated successfully, but these errors were encountered: