Configuring Logging
Configuration
Logging within AMPS is enabled by adding a Logging
section to the configuration. For example, the following would log all messages with an 'info' level or higher to the console:
<AMPSConfig>
...
<Logging>
<!-- The Logging section defines a single Target, which is used to log all messages
to the stdout output. -->
<Target>
<Protocol>stdout</Protocol>
<!-- States that only messages with a log level of info or greater will be output to
the screen. -->
<Level>info</Level>
</Target>
</Logging>
...
</AMPSConfig>
Last updated