use Sys::Syslog; openlog("sajatbjegyzes", $logopt, facility); syslog("info|local0", "Itt az üzenet"); closelog();