From: Anthony G. <an...@fa...> - 2008-11-11 20:57:30
|
Yes, when rotate_period is 'daily', the filename will include the date. How about you try it out? -Anthony On 11/11/08 9:56 AM, "Alex Loddengaard" <al...@cl...> wrote: Great information, Anthony. Thanks! I'm a little confused about rotate_period. Will setting this to daily change the filename format that Scribe creates? So instead of category_00001, I would see something like category_todaysdate_00001? Thanks again. Alex On Mon, Nov 10, 2008 at 1:10 PM, Anthony Giardullo <an...@fa...> wrote: After writing to category_99999, scribe will write to category_100000. You can test this out yourself by creating a file named category_99999 and then logging until it rotates to a new file. The file numbers go as high as INT_MAX. Also, I recommend setting a File Store's rotate_period to "daily" so that every day the file number will reset with a new date. And you can configure the File Store's max_size to determine how often Scribe will write to a new file. By setting either of these configuration options, it should be easier to manage your log files. -Anthony On 11/9/08 3:27 PM, "Alex Loddengaard" <al...@cl... <http://al...@cl...> > wrote: Scribe outputs files of the form "category/category_XXXXX." What happens when "XXXXX" is "99999"? Thanks. Alex ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Scribeserver-users mailing list Scr...@li... https://lists.sourceforge.net/lists/listinfo/scribeserver-users |