BookmarkSubscribeRSS Feed
bbenbaruch
Quartz | Level 8

I frequently have EG Project logs that exceed the maximum size allowed for viewing inside of EG and therefore have to export them as text files.

 

Unfortunately, I then lose the "enhanced editor" feature of having the log in the EG project.

 

Is there a Notepad++ "language" that will provide the same capability?  Or some other text editor that will read these files with the same "enhanced" capabilities as EG?  (And if not, why not?)

4 REPLIES 4
Tom
Super User Tom
Super User

What features of the EG viewer for log files are you looking to replicate?  How does it's viewer work differently than viewing it with Notepad++ or any other text viewer?

bbenbaruch
Quartz | Level 8

I am talking about the project log -- not the logs from the program nodes.

In addition to color coding, the project logs "collapse".  That is, each run has a heading indicating the node that was run and the exact date and time it was run.  Each heading can be expanded to show the log from that run or collapsed so that one can quickly scroll through the log.

 

bbenbaruch
Quartz | Level 8

I have downloaded the "language" for SAS that creates the color coding for SAS programs.  The core piece of the EG project log text editor is the "collapsibility/expandibility" feature.  It would be very nice to have that in logs that have to be exported after the space available in EG for project logs has been reached.  Does anyone know of such a feature or text editor?

Quentin
Super User

I know @ChrisHemedinger has a Notepad++ language file for syntax highlighting .sas files.

 

See: https://blogs.sas.com/content/sasdummy/2017/08/25/npp-with-sas/

 

If you just want highlighting of WARNING: and ERROR:, I would think that would be straightforward.  

 

I don't know if you can get it to automatically count warnings/errors when you open a .log file, or a "go to next error" button.  But you can do a lot with Ctrl-F.   If you select "Find All in Current Document" it will find all the lines with "ERROR", and pull them into a window.  And you can click a line to jump to that point in the log, etc.

The Boston Area SAS Users Group is hosting free webinars!
Next webinar will be in January 2025. Until then, check out our archives: https://www.basug.org/videos. And be sure to subscribe to our our email list.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1098 views
  • 0 likes
  • 3 in conversation