Hi Mark,
Yes I am adding the log statement to my own custom script. The script is listed 
in the postscripts. I am using :-
logger -t xcat "my custom log"
When I go to the compute and look at xcat.log, I can see the logs wrt the 
statements executed.
I am not able to see the logs from the compute in the xcat management node logs 
(i am using it as logserver )
I also noticed that, some of variables like $MASTER, $NODE are also not working 
so I need to give the names.

Sent from my iPhone

On Mar 14, 2017, at 7:13 AM, Mark Gurevich 
<[email protected]<mailto:[email protected]>> wrote:

Siddharth,

Are you adding logging statements to an existing postscript file or creating 
your own ? If your own, is it listed in the "postscripts" attribute when you 
run "lsdef <compute-name>" ?
What instructions are you using to do the logging ?
Did you check  /var/log/xcat/xcat.log file on compute node to see if your 
output is there ?

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research, would 
it?"
--Albert Einstein





From:        Siddharth Tiwari 
<[email protected]<mailto:[email protected]>>
To:        xCAT Users Mailing list 
<[email protected]<mailto:[email protected]>>
Date:        03/13/2017 05:43 PM
Subject:        Re: [xcat-user] logger not working
________________________________



Hi Mark,
I was expecting to see it in the management node.

Sent from my iPhone

On Mar 13, 2017, at 2:00 PM, Mark Gurevich 
<[email protected]<mailto:[email protected]>> wrote:

Siddharth, where did you expect your logging to appear ?

Are you looking inside /var/log/xcat/xcat.log file on compute node ?
Are you looking inside /var/log/xcat/computes.log file on management node ?

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research, would 
it?"
--Albert Einstein





From:        Siddharth Tiwari 
<[email protected]<mailto:[email protected]>>
To:        
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date:        03/13/2017 03:52 PM
Subject:        [xcat-user] logger not working
________________________________



Hi Team,
I could see that even though I have added lots of custom logging in the 
postscripts for debugging. I am not able to see any of those in my messages. 
can some one help.

*------------------------*
Cheers !!!
Siddharth Tiwari
Have a refreshing day !!!
"Every duty is holy, and devotion to duty is the highest form of worship of 
God.???
"Maybe other people will try to limit me but I don't limit 
myself"------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org<http://slashdot.org/>! 
http://sdm.link/slashdot_______________________________________________
xCAT-user mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org<http://slashdot.org/>! 
http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/xcat-user------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org<http://Slashdot.org>! 
http://sdm.link/slashdot_______________________________________________
xCAT-user mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/xcat-user




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org<http://Slashdot.org>! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to