1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Log Hostname Within Server Error Log

Discussion in 'XenForo Suggestions' started by digitalpoint, Aug 6, 2015.

  1. digitalpoint

    digitalpoint Well-Known Member

    For environments with multiple web servers, it's a pain trying to figure out *what* web server is triggering server errors from the XenForo Server Error Log.

    For example it would be super handy to know *which* web server was having a corrupted opcache going on, because you know, PHP trying to allocate 8.7GB for a function is totally normal (lol). :)

    Biker, jeffwidman, eva2000 and 3 others like this.
  2. Xon

    Xon Well-Known Member

    I do a tiny code edit to insert the hostname into the logging details in XenForo_Error, but it would be good for that to be part of the core.

    The Server Error log already contains privileged information, gated by an administrator permission, so a hostname isn't much extra.
    eva2000 likes this.

Share This Page