Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: conserver: users

Conserver logfile mod ....

 

 

conserver users RSS feed   Index | Next | Previous | View Threaded


bvoip-rob at pabut

May 8, 2009, 12:32 PM

Post #1 of 4 (1276 views)
Permalink
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 [at] conserver
https://www.conserver.com/mailman/listinfo/users


bmccann at andmore

May 8, 2009, 12:39 PM

Post #2 of 4 (1173 views)
Permalink
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 [at] conserver [mailto:users-bounces [at] conserver] On Behalf Of Rob
Sent: Friday, May 08, 2009 3:32 PM
To: users [at] conserver
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 [at] conserver
https://www.conserver.com/mailman/listinfo/users
_______________________________________________
users mailing list
users [at] conserver
https://www.conserver.com/mailman/listinfo/users


bryan at conserver

May 9, 2009, 2:00 PM

Post #3 of 4 (1179 views)
Permalink
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 [at] conserver
> https://www.conserver.com/mailman/listinfo/users
_______________________________________________
users mailing list
users [at] conserver
https://www.conserver.com/mailman/listinfo/users


bvoip-rob at pabut

May 9, 2009, 6:46 PM

Post #4 of 4 (1181 views)
Permalink
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 [at] conserver> 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 [at] conserver
>> https://www.conserver.com/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users [at] conserver
> https://www.conserver.com/mailman/listinfo/users
>
_______________________________________________
users mailing list
users [at] conserver
https://www.conserver.com/mailman/listinfo/users

conserver users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.