How to view archived logs?

115 views
Skip to first unread message

Richard Davies

unread,
Apr 12, 2013, 3:56:27 PM4/12/13
to fusion...@googlegroups.com
Is there any way to view archived FR logs aside from manually unzipping the archive and manually opening a particular log file? Ideally I'd think the logging -> log archive page inside the FusionReactor web interface would allow you to open up an archive and view its contents, but it only seems to allow you to delete an archive and view when it was zipped and rotated etc. but not actually view log file contents. Or am I missing something obvious?

P.S. I'm running FR Standard Edition 4.5.2

Charlie Arehart

unread,
Apr 12, 2013, 8:39:09 PM4/12/13
to fusion...@googlegroups.com

There is no support in the interface. I do think it would be great, but here’s the challenge: the logs can be huge, so they would need to create a paging interface to view them.

And if someone would say “why not at least just let me click and view the files in my browser or download them as text files”, there are two issues. First, the logs are not web accessible, so they couldn’t just offer a link to them. There would have to be some program to feed them out to you, something like the equivalent of CFCONTENT (though FR is not written in CFML, but instead in Java, so they’d need to use some Java object to do it). And second, they could be huge, so viewing them in the browser could be problematic.

But here’s good news: someone could write a CFML page to get and view the logs any of these ways. First, the FRAPI allows you to programmatically find where the FR logs are located, and since CF 8 at least, you can unzip files with the CFZIP tag’s action=”unzip”.

If anyone takes that on, please do let us know! :-) (I’m tempted, but I’m awfully busy so just can’t commit to it, as much as I’d love to see such a tool.)

/charlie

--
You received this message because you are subscribed to the Google Groups "FusionReactor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fusionreacto...@googlegroups.com.
To post to this group, send email to fusion...@googlegroups.com.
Visit this group at http://groups.google.com/group/fusionreactor?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages