Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-2752

Add an option to redirect stderr errors to eventlog on Windows

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • Agent (G)
    • Windows

      Until agent opens log file all critical errors are written into standard error output (stderr). When started as a service those messages are lost and debugging the error is quite problematic.

      The idea is to use eventlog for critical messages if agent has been started as a service. However detecting if agent has been started as a service is another problem.The simplest solution would be to add a command line parameter that would redirect to eventlog all error messaes originally written to stderr. When installing itself as service agent would automatically add this parameter to service launch parameters.

            Unassigned Unassigned
            wiper Andris Zeila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: