Errors and Logging
hgserver will output a record of all transactions along with errors and diagnostic messages. When run from the command line, this text is normally sent to stderr. You may redirect this to a file using the command shell. You can also tell servedat to append to a file specified by the "-l" option or the the LogFile configuration variable. hgserver will not launch if it is unable to append to the given log file.
If hgserver is run as root in unix it will default to writing diagnostic output to the file /var/log/hgserver.log or /var/adm/hgserver.log.
If hgserver is run as a Windows Service, it will default to writing diagnostics to the system common application data directory, which is usually:
C:\Documents and Settings\All Users\Application Data\DEI\hgserver.log
If you experience difficulties with a HyperGate application, the hgserver logs will provide important information about what happened. Please include a copy of the relevant log lines with any Technical Support Request.