cronolog-like subdirectories and suffix

21 views
Skip to first unread message

harish

unread,
Jan 7, 2010, 9:13:02 PM1/7/10
to Scribe Server
Hello,

I'm interested in using scribe as a logging solution - ideally I'd
like the logs to end up in the same location as they are now ending up
via cronolog. Currently I have cronlog set up to dump the logs in
subdirectories via date:

Year/Month/Day/name-date.log


I can't seem to find any way to have scribe:
1) create subdirectories based on the date and deposit the log file in
this subdirectory

2) append '.log' (or, for that matter, remove the '_0000' currently in
the suffix).


Any help would really be appreciated,
Harish

Eric Maland

unread,
Jan 8, 2010, 2:48:40 AM1/8/10
to scribe...@googlegroups.com
My branch (http://github.com/emaland/scribe) has a 'use_tree' flag developed by John Adams here at Twitter. This puts the logs in a date-based tree such as:

/scribe/2010/01/07/11

This is /path/YYYY/MM/DD/HH

This should be simple to modify, and we have plans to clean this up and make it more configurable. I've been on other projects for a few weeks but hope to get back to cleaning up my patches and pushing them to trunk/coodinating more with facebook in the next two weeks.

Thomas A. McGonagle

unread,
Jan 11, 2010, 9:07:40 AM1/11/10
to scribe...@googlegroups.com
Hey Eric,
This is great to see. I really like your new date based organizational
scheme.

Anthony- What is the process to fold changes like this into the main scribe
branch. We are in proof of concept phase right now, but I could see Scribe
rapidly moving into production. I am most comfortable running the main
scribe branch moving forward, but I was wondering how the process/timeline
to fold branches back into the main branch will work. Thanks for the info.

Happy New Year Everyone!

By the way, is anyone else impressed that Angelina Jolie is on our mailing
list :) ?

-Tom

tsuna

unread,
Jan 11, 2010, 12:37:58 PM1/11/10
to scribe...@googlegroups.com
On Mon, Jan 11, 2010 at 6:07 AM, Thomas A. McGonagle
<mcgo...@gmail.com> wrote:
>  By the way, is anyone else impressed that Angelina Jolie is on our mailing
> list :) ?

This annoying spam can be dealt with: people seeing it need to go to
http://groups.google.com/group/scribe-server and click "report spam"
on the offending messages. The more people do it, the faster Google
Groups will get rid of it and take appropriate action on the offending
accounts.

Also it probably makes sense to configure the group so that messages
coming from non-subscribers need to be approved by a moderator first.

--
Benoit Sigoure aka Tsuna
Software Engineer @ www.StumbleUpon.com

Anthony Giardullo

unread,
Jan 11, 2010, 10:32:32 PM1/11/10
to scribe...@googlegroups.com
To submit a patch, please do a Pull Request on Github for any changes
and send an email out to this list.

Also, in order to accept any code, I will need all authors to agree to
distribute the code under scribe's license.

Sorry about Angelina. I had a stern chat with her and made her
understand that her behavior is unacceptable and unprofessional. She
promised to stop posting to this list in the future.

-Anthony

Anthony Giardullo

unread,
Jan 11, 2010, 10:37:55 PM1/11/10
to scribe...@googlegroups.com
I changed the permissions on this group so that all new members will
be moderated in the future. Sorry about the spam.

-Anthony

Thomas A. McGonagle

unread,
Jan 12, 2010, 1:11:21 PM1/12/10
to scribe...@googlegroups.com
Thanks for the suggestion. Although, you haven't convinced me that it is in
fact NOT Angelina Jolie. I prefer to think otherwise :)
-Tom

-----Original Message-----
From: scribe...@googlegroups.com [mailto:scribe...@googlegroups.com]
On Behalf Of tsuna
Sent: Monday, January 11, 2010 12:38 PM
To: scribe...@googlegroups.com
Subject: Re: [scribe-server] cronolog-like subdirectories and suffix

harish

unread,
Feb 9, 2010, 8:30:42 AM2/9/10
to Scribe Server
Hi Eric,

Just curious if your branch is being merged with the scribe trunk?

Thanks for your contribution - its exactly what I'm looking for.
-Harish

Reply all
Reply to author
Forward
0 new messages