Last active
October 20, 2020 12:37
-
-
Save douglascrp/ea427e37d1b9d1c4cdceb9c309798a7f to your computer and use it in GitHub Desktop.
Some useful commands to help analyse logs and understand what is going on with your Alfresco server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to get a list errors: | |
========================= | |
cat catalina.out | egrep "(WARN|ERROR|Caused by)" | uniq > output.txt | |
How to count the errors by type: | |
================================ | |
$ grep ERROR solr.log| awk '{print $4}'| sort | uniq -c | |
63 [org.alfresco.solr.tracker.AbstractTracker] | |
135 [org.apache.solr.core.SolrCore] | |
3 [org.apache.solr.util.ConcurrentLRUCache] | |
135 [org.quartz.core.ErrorLogger] | |
135 [org.quartz.core.JobRunShell] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment