Item Search
     
BG-Wiki Search
Results 1 to 3 of 3

Thread: Log Files     submit to reddit submit to twitter

  1. #1
    Melee Summoner
    Join Date
    Nov 2006
    Posts
    45
    BG Level
    1

    Log Files

    I'm thinking about working on my own parser in the vein of FFXIP. Does anyone know how the log files are rotated? Is it based on elapsed time or size? It really isn't readily apparent from the source, but then again I've only looked at it for ten minutes.

  2. #2
    Banned.

    Join Date
    Oct 2006
    Posts
    10,115
    BG Level
    9

    Re: Log Files

    I don't think is file size, since each of them have different ones, rather by number of lines displayed. I'm just guessing though.

  3. #3
    Ridill
    Join Date
    May 2005
    Posts
    13,568
    BG Level
    9

    Re: Log Files

    FFXI client buffers a bunch of lines. When that number reaches 50 (i think?), it writes a new log file and then ensures that there are less than 20 (i think?) files in the log dir by deleting the oldest one.

    For my parser I just run a simple script that checks the directory every few seconds and mirrors new log entries to a second directory. Then the parser works off of the log files in the second directory.

Similar Threads

  1. Music File of Carby
    By Kunami in forum FFXI: Everything
    Replies: 3
    Last Post: 2004-12-24, 02:39
  2. Clearing the final ZM mission from the log???
    By in forum FFXI: Everything
    Replies: 1
    Last Post: 2004-12-21, 11:11
  3. Patch files
    By Litoriceboi in forum FFXI: Everything
    Replies: 1
    Last Post: 2004-12-08, 17:42