User Tools

Site Tools


newdevs:logs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
newdevs:logs [2023/02/14 16:31] tlittlenewdevs:logs [2023/02/14 16:34] (current) – [Following the trail] tlittle
Line 27: Line 27:
 ''<nowiki>bzgrep [something] [in a particular file</nowiki>'' -- If you're using a product like bZip2 to zip previous day/week/month log files for space, you'll need to specify that in your grep. Otherwise it won't be able to look inside those files. So an example might be ''<nowiki>bzgrep [threadtrace number] activity.log.bz2</nowiki>'' ''<nowiki>bzgrep [something] [in a particular file</nowiki>'' -- If you're using a product like bZip2 to zip previous day/week/month log files for space, you'll need to specify that in your grep. Otherwise it won't be able to look inside those files. So an example might be ''<nowiki>bzgrep [threadtrace number] activity.log.bz2</nowiki>''
  
-''<nowiki>grep brick01 activity.log |grep open-ils.acq |less</nowiki>'' -- You can stack multiple greps by using a pipe. So this example would be "search for brick01 in activity.log, and then within that search for open-ils.acq".+''<nowiki>grep brick01 activity.log |grep open-ils.acq |less</nowiki>'' -- You can stack multiple greps by using a pipe. So in layman's terms this example would be "search for brick01 in activity.log, and then within those results search for open-ils.acq". 
 + 
 +===== Reading the lines ===== 
 + 
newdevs/logs.1676410281.txt.gz · Last modified: 2023/02/14 16:31 by tlittle

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.