EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: iocLog - wishlist
From: [email protected] (Gabor Csuka)
To: [email protected]
Cc: [email protected] (Gabor Csuka)
Date: Wed, 04 Sep 1996 16:45:35 +0200 (MET DST)
Dear All !

We want to use the IOC log facility and during the test phase 
we decided to make some modification. Before we do this, ask 
YOU for comment. 

regards,

Gabor CSUKA
DESY, Germany

The proposal:

> 
> About IOCLoger:
> 
> 
> Introduce:
>    
>    The management for ioclog message is client/server mode. A server 
> can connect several different clients (ioc(s)),The Logging System 
> traps all logMsg calls and sends a copy to a Unix file . 

Thats OK. But we want to use separate log files one per IOC.

> The IOC log client can be disabled ,issuing the command
>                                 iocLogDisable=1       

According a code: It doesn't work, while the iocLogDisable
variable is declared as 'LOCAL' not a 'GLOBAL' one. (As I see the code
of R3.13, this bug is not there.)

But if I insert this code before iocInit I have no chence to restart
it with useing iocLogDisable=0 commmand. I prefeare 4 commands instead 
of one variable set:

iocLogClientStart - starts or restarts the ioclogclient if dosn't run
iocLogClientStop  - stop (kill) the iocLogClient
iocLogEnable	  - disable the sending of iocLog messages to the Server.
iocLogDisable	  - enable sending the log messages

The envinroment variables:
>         EPICS_IOC_LOG_FILE_NAME=/applic/log/iocLog.text

usenig as a direcory name, and separate files for IOC-s
>         EPICS_IOC_LOG_FILE_LIMIT=1000000

keepeing it as a limit /ioc-s.

> 
> Once the file is written fully, it will be  overwrite by new messages
> from the beginning of the file.

Ok. but needed a possibility to inform the system manager about...

Please send the comments to me: [email protected]


Regards: Gabor




Replies:
Re: iocLog - wishlist Jeff Hill

Navigate by Date:
Prev: Re: SNL exit question Jeff Hill
Next: Re: iocLog - wishlist Jeff Hill
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: COMMUNICATION between EPICS and the Allen Bradley SLC 500 Marty Kraimer
Next: Re: iocLog - wishlist Jeff Hill
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·