Log Mechanism

OTRS comes with a log backend that can be used for application logging and debugging.

The Log object can be accessed and used via the ObjectManager like this:

$Kernel::OM->Get('Kernel::System::Log')->Log(
    Priority => 'error',
    Message => 'Need something!',
);