[tode_st] accessing gem, pcmon, and stone log files from tODE

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[tode_st] accessing gem, pcmon, and stone log files from tODE

Paul DeBruicker
Hi Dale,

this is more of a feature request but is there a straightforward way to  (or make a command to ) access the log files in tODE?


e.g.

log -t 50 gem

would tail the last 50 lines of the tODE gem log

so instead of seeing

Topez ERROR: Error:  For further information about login failures, check the gem log file

and having to guess/remember where it is I can just ask for the last few lines to be put in the transcript or something

Thanks

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/tode_st/7C7C2F93-5D3C-4125-B251-6706C481A6CC%40gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: [tode_st] accessing gem, pcmon, and stone log files from tODE

Dale Henrichs-3

On 5/27/20 7:19 AM, PAUL DEBRUICKER wrote:
> Hi Dale,
>
> this is more of a feature request but is there a straightforward way to  (or make a command to ) access the log files in tODE?

I think that this should be possible ... with GsDevKit_home, you know
that the gem log files are in
$GS_HOME/stones/<sonte-name>/logs/gemnetobject<pid>.log. The tode
command `gs version --gem` returns an attribute dictionary for the gem
... and the 'processId' key is the pid of the gem process ... so it
should be relatively straight forward ...to create a script or command
from there ...

Dale

>
>
> e.g.
>
> log -t 50 gem
>
> would tail the last 50 lines of the tODE gem log
>
> so instead of seeing
>
> Topez ERROR: Error:  For further information about login failures, check the gem log file
>
> and having to guess/remember where it is I can just ask for the last few lines to be put in the transcript or something
>
> Thanks
>

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/tode_st/69a8f70f-b89f-28a6-3973-8dba6693e868%40gemtalksystems.com.