Zum Hauptinhalt springen

How do I enable logging for incoming email processing? - Wissensdatenbank / Deskpro Legacy - Deskpro Support

WARNING: You're browsing documentation for an older version of Deskpro. Consider upgrading to Deskpro Horizon

How do I enable logging for incoming email processing?

Autorenliste

If you're having trouble with the processing of incoming emails in Deskpro On-Premise, you can enable logging to see what's happening.

 

You can run the following command from the command line to see email processing output in real time:

php bin/cron --verbose -j process_email_gateways -f

--verbose to generate output
-j to only run the process emails job
-f to force running regardless of timers (eg to run more than once a minute)
 
You can also enable the cron log (same as --verbose but logs to a file). Add this to your config.php:

$DP_CONFIG['debug']['write_cron_logfile'] = true;

This will log everything that happens when the cron job/Scheduled Task runs, which includes email processing, to /data/logs/cron.log - disable this once you are finished troubleshooting.
 
And to log ticket filter matches and notification events, add this to config.php:

$DP_CONFIG['debug']['ticket_change_logger'] = 1;

Logs to /data/logs/ticket-change-tracker.log
 
This provides data for tickets created by email as well as changes made through the agent interface.

Hilfreich Nicht hilfreich

58 von 105 Personen fanden diese Seite hilfreich

Fügen Sie einen Kommentar hinzu

Bitte loggen Sie sich ein oder melden Sie sich an, um einen Kommentar zu hinterlassen.

Benötigen Sie eine Passwort-Erinnerung?