Horde3D

Next-Generation Graphics Engine
It is currently 20.04.2024, 08:02

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: log file format
PostPosted: 17.02.2009, 15:30 
Offline

Joined: 10.04.2008, 09:13
Posts: 86
Is it possible to change the logfile format, or make it optionally a plain textfile.
I'd really like to be able to 'tail -f' it. What are the benefits of using html?


Top
 Profile  
Reply with quote  
 Post subject: Re: log file format
PostPosted: 17.02.2009, 15:41 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
You can use whatever you want, since the log messages are already plain text. Only the Util method dumpMessages makes them HTML text.
If you want to use the plain log messages, use Horde3D::getMessage


Top
 Profile  
Reply with quote  
 Post subject: Re: log file format
PostPosted: 17.02.2009, 17:15 
Offline

Joined: 19.11.2007, 19:35
Posts: 218
Would probably be a lot more useful to have the log output accept an external style sheet, like "log.css" or something as opposed to defining the style in the HTML output.


Top
 Profile  
Reply with quote  
 Post subject: Re: log file format
PostPosted: 17.02.2009, 17:56 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
jimbo wrote:
Is it possible to change the logfile format, or make it optionally a plain textfile.
As Volker said, you can write your own version of Horde3DUtils::dumpMessages(), to output whatever format you like.
Quote:
I'd really like to be able to 'tail -f' it. What are the benefits of using html?
The major benefit is formatting, allowing the eye to quickly skip to relevant sections - especially in a Windows or Mac environment where the command line is a very foreign idea, and thus tail and friends are rarely used.

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group