Re: [AD] Location of allegro.log file (4.3.10)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 30/09/2008, you wrote:
> 
>> In src/allegro.c:al_trace() the log file is opened simply as  
>> allegro.log.
>> My beta testers have been complaining about these .log files being  
>> "left
>> everywhere" when they run Allegro games, and on the Amiga it is  
>> considered
>> bad form to write to disk without the user's permission - yeah we're a
>> quirky platform.  :-)  We have a RAM disk that is used for this sort  
>> of
>> thing.
>
> It shouldn't be a problem to make the log go to a specific directory  
> under Amiga and just tell developers to look for it there. After all,  
> it's only for debugging.

Oh I could certainly just change src/allegro.c so that it said
"RAM:allegro.log" rather than just "allegro.log" but then that is an Amiga
specific change that is only on my hard drive.  Ultimately the source will
go into Subversion so the change should apply to anyone who gets the source
and builds it, hence the need for a macro such as #define ALLEGRO_LOG_FILE
"RAM:allegro.log" that is used.  Or am I misunderstanding you?

-- 
/-------------------------------------------------------------------\
[Hitman/Code HQ - 6502/z80/68000/604e/80x86/ARM coder - Amiga rulez!]
[VZ-200/VIC-20/MZ-700/c16/c64*10/c128*8/Plus-4/CPC464/CD32/500*2    ]
[600/1000/1200*2/A4000/SNES/N64/Dreamcast/Athlon 1100/AmigaOne      ]
[Assembly Language: The most fun you can have with your clothes on! ]
\-------------------------------------------------------------------/





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/