Configuration
Configuration
Event monitoring can be configured by modifying Server.xml or through the Web Console.
Configuration using Server.xml
To enable event monitoring, add the relevant settings to Server.xml
.
<Events><Level>
N
Event logs have different levels according to operations. Configurable values are trace
, debug
, info
, warn
, error
, and the default is debug
.
<Events><Log><Enabled>
Y
The event logging function can be enabled or disabled with true
or false
.
<Events><Log><Path>
N
Specifies the directory where event log files are saved. The default directory is /var/log/ovenmediaengine
.
Configuration using the Web Console
You can enable the event monitoring function through the UI on the Web Console's Settings -> Server page.
Navigate to the Settings -> Server page using the navigation at the top of the screen.
Set the values in the monitoring section. 2-1.
level
: Set the level of event logs. 2-2.Log Enabled
: Set totrue
to enable event logging. 2-3.Log Path
: Set the directory where event logs will be saved. If set to an empty value, event logs will be saved asevent.log
in OvenMediaEngine's default log storage directory,/var/log/ovenmediaengine
.After setting the values, click the
Update Changes
button at the top to apply the changes.
OvenMediaEngine will automatically restart when changes are applied.
Post Configuration
Web Console Event Log Directory Setting
No additional settings are needed if you use the default directory, /var/log/ovenmediaengine.
To synchronize recorded event logs with the Web Console, you need to match the Web Console's environment variables with the configured LogPath.
You can set the changed event logging directory by adding environment variables to system.env.
Event Specification
Please refer to the Event Specification document for details on the event formats and event lists recorded through event logging.
Last updated