[Eg-newdevs] Reading logs with VSCode
Terran McCanna
tmccanna at georgialibraries.org
Wed Feb 1 11:48:15 EST 2023
Awesome, thanks Tiffany and Stephanie!
Terran McCanna, PINES Program Manager
------------------------------
Georgia Public Library Service | University System of Georgia
2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341
(404) 235-7138 | tmccanna at georgialibraries.org
http://help.georgialibraries.org | help at georgialibraries.org
<https://www.facebook.com/georgialibraries>
<https://www.twitter.com/georgialibs>
<https://www.instagram.com/georgialibraries/>
<https://www.twitter.com/georgialibs>
Join our email list <http://georgialibraries.org> for stories of Georgia
libraries making an impact in our communities.
On Thu, Jan 26, 2023 at 12:43 PM Stephanie Leary via Eg-newdevs <
eg-newdevs at list.evergreen-ils.org> wrote:
> Thanks, Tiffany! These are great.
>
> I've made us a section for VSCode extensions on the Developer Tools page:
>
> https://wiki.evergreen-ils.org/doku.php?id=newdevs:landscape:tools#developer_tools
>
> I threw in the Indent Rainbow extension I mentioned last week.
>
> On Thu, Jan 26, 2023 at 9:40 AM Morgan, Michele via Eg-newdevs <
> eg-newdevs at list.evergreen-ils.org> wrote:
>
>> Thanks for sharing Tiffany!
>>
>> I usually slog through logs via command line, but these might help spare
>> my eyeballs. I'll give them a try!
>>
>> Michele
>> --
>> Michele M. Morgan, Technical Support Analyst
>> North of Boston Library Exchange, Danvers Massachusetts
>> mmorgan at noblenet.org
>>
>>
>>
>> On Thu, Jan 26, 2023 at 8:55 AM Tiffany Little via Eg-newdevs <
>> eg-newdevs at list.evergreen-ils.org> wrote:
>>
>>> Morning everyone,
>>>
>>> I just had occasion this week to trawl through EG logs, and I found some
>>> VSCode extensions that really helped (and I thought were cool) so I wanted
>>> to share.
>>>
>>> So basically I had the logs from our production server for about a 4
>>> hour span. It was a ginormous file. I found what I was looking for--Acq was
>>> spamming a perm check. So what I wanted was to see one person's activity to
>>> see what they were doing, but trying to parse out that one person from a
>>> constant torrent of activity wasn't working.
>>>
>>> So in Googling, I found the extension Filter Line
>>> <https://marketplace.visualstudio.com/items?itemName=everettjf.filter-line>.
>>> There's a little finagling I had to do because the log file was so huge
>>> (detailed on that page), but after that I did my search term as the user's
>>> authtoken. And lo and behold, it pulled out all of the lines that had that
>>> user's authtoken, in time order, so I could literally step through and
>>> watch what they had done. You can also highlight any number of lines, and
>>> in the bottom left of your console you can see the time elapsed. So I could
>>> see that it was spamming this perm check like 50 times in the span of 2
>>> seconds.
>>>
>>> The second thing I found is Log File Highlighter
>>> <https://marketplace.visualstudio.com/items?itemName=emilast.LogFileHighlighter>.
>>> I had to rename my text file with a .log extension for it to pick it up,
>>> but once it did it color codes the different pieces of info in the log. It
>>> just made it more readable for me (and y'all know I love color coding).
>>> Apparently you can even customize the colors too, but I haven't gotten
>>> there yet.
>>>
>>> I just thought those were so cool, so hopefully they're helpful to
>>> someone. :)
>>>
>>> Tiffany
>>>
>>> Tiffany Little, PINES Services Specialist: Acquisitions
>>>
>>> ------------------------------
>>>
>>> Georgia Public Library Service | University System of Georgia
>>>
>>> 2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341
>>>
>>> (404) 235-7161 | tlittle at georgialibraries.org
>>>
>>> Join our email list <http://georgialibraries.org/> for stories of
>>> Georgia libraries making an impact in our communities.
>>> _______________________________________________
>>> Eg-newdevs mailing list
>>> Eg-newdevs at list.evergreen-ils.org
>>> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/eg-newdevs
>>>
>> _______________________________________________
>> Eg-newdevs mailing list
>> Eg-newdevs at list.evergreen-ils.org
>> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/eg-newdevs
>>
> _______________________________________________
> Eg-newdevs mailing list
> Eg-newdevs at list.evergreen-ils.org
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/eg-newdevs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/eg-newdevs/attachments/20230201/43fdd627/attachment.htm>
More information about the Eg-newdevs
mailing list