3
theSith
3y

This guy has been a “php programmer” for 3 years now and yet he doesn’t know where to find Apache logs, is it weird that I am finding this really strange?

Comments
  • 7
    Maybe he uses nginx or caddy or docker where the apache logs go to stdout?
  • 1
    @bosi he doesn’t use any of those
  • 1
    @bosi @theSith

    Usually there are two locations on Unix systems:

    /var/log or journalctl / systemd.

    As simple as that.
  • 4
    I've seen people work on their respective fields for a lifetime and they're still mediocre anyway. time is only experience if people bother using it to learn something
  • 3
    Print_r() makes a good logger...... right?
  • 0
    Why would it be strange?
  • 4
    I always have to google it. With like 12391239012 flavors of Linux, they could be under any one of multiple different paths. Also depends if you are running containers, etc etc.
  • 0
    Maybe logging flag is off?
    You know...
    FoR PeRfOrMaNcE
  • 1
    Admin or programmer?
    Strictly speaking you don't need logs as a programmer. It can help some tricky debug situation in pro and one should always check for warning signs but there are other ways for that when developing.

    Also is advice to invest in a central logging system.
  • 1
    Has he heard of /var/log
  • 0
    Maybe he writes code and pushes to production directly
Add Comment