Logging and advanced configuration¶
Log levels¶
Quickstream uses the following log levels:
- Critical (0) - Only critical errors, the smallest amount of logs.
- Error (1) - More verbose but less than normal.
- Warning (2) - Standard verbose.
- Info (3) - More verbose.
- Debug (4) - It will produce a large amount of logs. Almost every action is logged.
- Verbose (5) - It will produce a HUGE amount of logs!! Please be very careful with this log level.
For standard operation, we recommend setting the log level to Warning.
Log level may be changed in system section of Quickstream Node and using the Quickstream setup application.
Changing log level on Linux¶
Log level may be changed using quickstream5-setup
by selecting option number 7.
using config file: "/opt/quickstream5/etc/quickstream5.ini"
Started quickstream node setup tool.
Config folder: /opt/quickstream5/etc
Trying to connect to node at localhost port: 32123
If you want to use different port for all node connections:
- stop service,
- edit /opt/quickstream5/etc/quickstream5.ini
- restart service
Connection to Node established, logging in.
Log level changed to: Verbose
Menu:
1) Enable Cloud management (currently: disabled)
2) Disable Cloud management
3) Enable or change local management password
4) Change Node name (current: 'LYCANANANAS-PC')
5) Print Hardware ID
6) Update licenses
7) Change log level (current: Verbose)
8) Show path of folder with log files
9) Export activity log to file
10) Update local management tool if available
11) Change access level to local management tool (current: disabled)
12) Try to import DIRECT channels from old version of quickstream
(cannot automatically import Transcoding configurations)
0) Quit setup
7
Choose log level:
0 - critical
1 - error
2 - warning
3 - info
4 - debug (shouldn't be used in a production environment)
5 - verbose (shouldn't be used in a production environment)
2
request sent
Changing log level on Windows¶
The log level can be changed using Quickstream Node Setup from the Windows tray.
Log location¶
Log files¶
Quickstream Cloud Node keeps its logs in the local database and in compressed text files. New file is created every 24 hours. Logs are compressed using zlib
. You can read compressed files using zcat
on Linux. On Windows you must decompress file using for example using 7zip.
Additionally crashlogs are saved in the same location as standard logs.
Linux¶
You can check Quickstream Node logs location using option 8 (Show path of folder with log files
) in quickstream5-node-setup
. Logs are usually stored in:
/opt/quickstream5/log/<channel id>
- directory for a particular channel/opt/quickstream5/log/wrapper
- other files
Logs are not deleted automatically!
Please delete logs manually or use cron
script or logrotate
for automated logs rotation to avoid using all free space in your operating system.
Windows¶
You can open Quickstream Node log folder using Quickstream 5 Setup
from the windows tray.
Logs are stored in c:\ProgramData\Quickstream\Quickstream 5\log
folder.
Logs are not deleted automatically!
Please delete logs manually or use Task Scheduler for automated logs rotation.