BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Haris
Lapis Lazuli | Level 10

I like the way SEG Log Summary creates hyperlinks for Errors, Warnings, and Notes.  Is there a way to get that functionality of at least part of it with a SAS log that has been saved as a text file?

 

Thanks, 

Haris

1 ACCEPTED SOLUTION

Accepted Solutions
CaseySmith
SAS Employee

If you save the log with a .log extension, then add the .log file to an EG project, the Log Summary view will be displayed and will summarize the log.  When you select an error, warning, or note in the Log Summary view, the corresponding line in the log will be selected, same as for logs generated within the project.

 

However, there are a couple differences from a log generated within the project...

1) The ERRORs, WARNINGs, and NOTEs in the log aren't currently colored (red, blue, and green).

2) The "Go to Program Source" and "Go to Log Source" menu items are disabled.  (I expect the "Go to Program Source" menu item to be disabled, since no linked program in this case, but was expecting "Go to Log Source" to still be enabled.

 

If the log was saved with a .txt extension, EG opens it as a plain text file (doesn't realize it is a log), thus Log Summary view not shown.  It would be nice if EG offered an "open as log" option, so user could explicitly tell EG to open it as a log.


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

View solution in original post

4 REPLIES 4
Haris
Lapis Lazuli | Level 10

I like the way SEG Log Summary creates hyperlinks for Errors, Warnings, and Notes.  Is there a way to get that functionality of at least part of it with a SAS log that has been saved as a text file?

CaseySmith
SAS Employee

If you save the log with a .log extension, then add the .log file to an EG project, the Log Summary view will be displayed and will summarize the log.  When you select an error, warning, or note in the Log Summary view, the corresponding line in the log will be selected, same as for logs generated within the project.

 

However, there are a couple differences from a log generated within the project...

1) The ERRORs, WARNINGs, and NOTEs in the log aren't currently colored (red, blue, and green).

2) The "Go to Program Source" and "Go to Log Source" menu items are disabled.  (I expect the "Go to Program Source" menu item to be disabled, since no linked program in this case, but was expecting "Go to Log Source" to still be enabled.

 

If the log was saved with a .txt extension, EG opens it as a plain text file (doesn't realize it is a log), thus Log Summary view not shown.  It would be nice if EG offered an "open as log" option, so user could explicitly tell EG to open it as a log.


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

Haris
Lapis Lazuli | Level 10

That's great news; however, I must be doing something wrong.  When I drag-and-drop a *.log file to SEG 7.13, I get a text file without any Log Summary options.  What am I missing?

Haris
Lapis Lazuli | Level 10
Aha, found it. When I open the *.LOG file in SEG, only Save, Publish (grayed out) and Properties options are on the tool bar above the text. However, I can open the Log Summary via View|Log Summary pull-down menu.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 2339 views
  • 1 like
  • 2 in conversation