Skip to content

Instantly share code, notes, and snippets.

@LiamKarlMitchell
Created November 7, 2018 20:47
Show Gist options
  • Save LiamKarlMitchell/239be1f249f0143b055298f2168ff335 to your computer and use it in GitHub Desktop.
Save LiamKarlMitchell/239be1f249f0143b055298f2168ff335 to your computer and use it in GitHub Desktop.
Find the appropriate log files

Find log files modified in last 5 min.

find / -cmin -5 -type f -name "*.log"

For example I used this to find the Akeneo daemon log so I could tail it for debugging.

tail -100f /var/log/akeneo_daemon.err.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment