-
Notifications
You must be signed in to change notification settings - Fork 9
Log Messages
Volume Control uses logging to help assist with debugging and provide information about any errors that occur.
All log messages have an event type, which specifies the general importance and/or purpose of a message.
The event type is also used for filtering messages to improve readability and prevent unnecessary write operations.
When including your log file in an issue report, you should enable all event types in the log filter so that all messages are visible.
There are two ways to change the log filter:
- Through the application.
In the main window, click Settings → Event Logging → Filter and check all of the boxes.
- Editing
VolumeControl.json
manually.If you used the installer, press Win+R to open the run dialog and enter the following path:
%LocalAppData%/radj307/VolumeControl/VolumeControl.json
If you use the portable version, the config file is in the same directory asVolumeControl.exe
.⚠️ Note: Before saving your changes, make sure the application isn't running.To enable all filter levels, find the
LogFilter
line near the bottom and change it to"ALL"
:"LogFilter": "ALL",
In short: performance & readability.
The DEBUG
& TRACE
event types cause a large number of write operations and aren't generally useful outside of diagnosing an issue or debugging, so they start disabled.
The EventType enum is a bitfield that is a combination of any of the following values except 0
(NONE
) and 127
(ALL
):
Event Type | Value |
---|---|
DEBUG |
1 |
INFO |
2 |
WARN |
4 |
ERROR |
8 |
CRITICAL |
16 |
FATAL |
32 |
TRACE |
64 |
Additionally, there are 2 special event types that cannot be combined:
Event Type | Value | Reason |
---|---|---|
NONE |
0 |
Is the absence of all other values. |
ALL |
127 |
Is all of the other values combined. |