Hi All,<br><br>This is related with remote syslog logging during kickstart in %pre and %post.<br><br>Is there a way I can utilize what Anaconda is using to do remote syslog logging?<br><br>I tried to write a Python script that invokes on the syslog.syslog() function but no luck.  It is only logging to the local /tmp/syslog file.  Is there a way I can get it to log to a remote syslog server?<br>
<br>Thanks!!<br><br>David<br><br><div class="gmail_quote">On Mon, Jul 18, 2011 at 1:30 PM, Chun Tat David Chu <span dir="ltr"><<a href="mailto:beyonddc.storage@gmail.com">beyonddc.storage@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Hi All,</div>
<div> </div>
<div>I know that you can specify logging host by including 'logging --host <hostname>' in the kickstart file so that Anaconda will log remotely.</div>
<div> </div>
<div>What I would like is to log custom messages during %pre and %post but I couldn't figure out how to do so.</div>
<div> </div>
<div>It appears 'logger' is not available during %pre.</div>
<div> </div>
<div>My question is how to log remotely during %pre and %post.</div>
<div> </div>
<div>I am currently using RHEL 5.2.</div>
<div> </div>
<div>Thanks!</div>
<div> </div><font color="#888888">
<div>- David</div>
</font></blockquote></div><br>