Mailing List Archive

Conserver logfile mod ....
I was looking to make a modification to the code and wondering if you
can tell me where to start looking ..... I want to add an option so
that EVERY LINE on the monitored console port is written to the log
file PREFACED with a time stamp .....

What source file and what routine does the actual log writing ?????
I'm thinking it's FileWrite in cutil.c .......

Thanks,


--> Rob
_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
RE: Conserver logfile mod .... [ In reply to ]
I like this idea...if you do make a patch, would you mind sharing it?

--Brian

-----Original Message-----
From: users-bounces@conserver.com [mailto:users-bounces@conserver.com] On Behalf Of Rob
Sent: Friday, May 08, 2009 3:32 PM
To: users@conserver.com
Subject: Conserver logfile mod ....

I was looking to make a modification to the code and wondering if you
can tell me where to start looking ..... I want to add an option so
that EVERY LINE on the monitored console port is written to the log
file PREFACED with a time stamp .....

What source file and what routine does the actual log writing ?????
I'm thinking it's FileWrite in cutil.c .......

Thanks,


--> Rob
_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: Conserver logfile mod .... [ In reply to ]
That functionality is already there. If a console has the
"timestamp 1l;" option, you'll get a timestamp before each line.

Bryan

On Fri, May 08, 2009 at 03:32:13PM -0400, Rob wrote:
> I was looking to make a modification to the code and wondering if you
> can tell me where to start looking ..... I want to add an option so
> that EVERY LINE on the monitored console port is written to the log
> file PREFACED with a time stamp .....
>
> What source file and what routine does the actual log writing ?????
> I'm thinking it's FileWrite in cutil.c .......
>
> Thanks,
>
>
> --> Rob
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users
_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: Conserver logfile mod .... [ In reply to ]
SWEET !! ... didn't see that in the MAN PAGE

On Sat, May 9, 2009 at 5:00 PM, Bryan Stansell <bryan@conserver.com> wrote:
> That functionality is already there.  If a console has the
> "timestamp 1l;" option, you'll get a timestamp before each line.
>
> Bryan
>
> On Fri, May 08, 2009 at 03:32:13PM -0400, Rob wrote:
>> I was looking to make a modification to the code and wondering if you
>> can tell me where to start looking ..... I want to add an option so
>> that EVERY LINE on the monitored console port is written to the log
>> file PREFACED with a time stamp .....
>>
>> What source file and what routine does the actual log writing ?????
>> I'm thinking it's FileWrite in cutil.c .......
>>
>> Thanks,
>>
>>
>> --> Rob
>> _______________________________________________
>> users mailing list
>> users@conserver.com
>> https://www.conserver.com/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users