[Red5] [SPAM]Re: Red5 Eclipse Plugin - Where to put logback.xml?
Jason Jensen
jason.jensen at smashingideas.com
Thu Jul 17 09:14:33 PDT 2008
Many thanks to both of you for all your help. That totally makes sense.
I'm running a deployment similar to Walter's right now but I'm also going to experiment with a Tomcat deployment and I'll try to share any logging tips with the list.
Thanks!
-Jason
From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On Behalf Of Dominick Accattato
Sent: Wednesday, July 16, 2008 6:43 AM
To: red5 at osflash.org
Subject: Re: [Red5] [SPAM]Re: Red5 Eclipse Plugin - Where to put logback.xml?
I haven't checked yet, but I'll give my understanding of it. you should place it in the default src folder. The compiler should copy this to the build directory. You don't have to worry about where the build directory is because the exported war will place it in the correct directory structure. HTH
On Wed, Jul 16, 2008 at 8:20 AM, Dominick Accattato <daccattato at gmail.com<mailto:daccattato at gmail.com>> wrote:
I don't have time to check right now, but please keep in mind that the folder structure is related to eclipse only. When the application is tested/deployed on the server, it is war'd up according to the servlet specification. This would also be the case when you right click the project and export as a war file. Regardless, I will put this on my things todo and get back to the list. If anyone can answer this in the meantime, please feel free to.
On Tue, Jul 15, 2008 at 11:05 PM, Jason Jensen <flash_developer at comcast.net<mailto:flash_developer at comcast.net>> wrote:
Thanks Walter!
You are absolutely right, when I duplicate the folder structures of the demo webapps(like oflaDem for example) everything logs fine. The Red5 plugin for Eclipse creates a different folder structure for webapps. The plugin creates:
source folder:
webappRoot/src
output folder:
wepappRoot/build/classes
lib and config folder:
webappRoot/WebContent/lib
webappRoot/WebContent/WEB-INF/web.xml and the other two config files
I'm using Eclipse Ginymede on windows XP and I've tried several places including the source and output folders, even the lib folder. I am a Flash dev and not a JAVA/Eclipse dev so... Where would I put the logback.xml file in this folder tree?
Thanks,
-Jason
----- Original Message -----
From: Walter Tak<mailto:walter at waltertak.com>
To: red5 at osflash.org<mailto:red5 at osflash.org>
Sent: Sunday, July 13, 2008 3:36 PM
Subject: [SPAM]Re: [Red5] Red5 Eclipse Plugin - Where to put logback.xml?
Most of us have the logback.xml inside ./webapps/<application>/WEB-INF/classes
Make sure the path to your logfile inside logback.xml is correct. Some of us have to change from double dot to single dot or vice versa.
Also make if the directory called [logs] or [log] has been created and that Red5 has enough rights to create/alter logfiles inside those dirs.
Regards,
Walter
----- Original Message -----
From: Jason Jensen<mailto:flash_developer at comcast.net>
To: red5 at osflash.org<mailto:red5 at osflash.org>
Sent: Sunday, 13 July 2008 21:19
Subject: [Red5] Red5 Eclipse Plugin - Where to put logback.xml?
Hi All,
I can't seem to get application logging to work when using the Red5 Eclipse Plugin.
I've followed instructions as per this link:
http://jira.red5.org/confluence/display/docs/Logging+Setup
I have all the needed packages imported and my logger instantiates just fine. I suspect my logback.xml file is in the wrong place or improperly configured. I know the permissions are correct on my target log file 'cause I can log to it from the demo apps.
Where should logback.xml reside when using the Red5 Eclipse Plugin to generate app directories?
Thanks,
-Jason
________________________________
_______________________________________________
Red5 mailing list
Red5 at osflash.org<mailto:Red5 at osflash.org>
http://osflash.org/mailman/listinfo/red5_osflash.org
________________________________
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 270.4.10/1549 - Release Date: 12-07-08 16:31
________________________________
_______________________________________________
Red5 mailing list
Red5 at osflash.org<mailto:Red5 at osflash.org>
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
Red5 at osflash.org<mailto:Red5 at osflash.org>
http://osflash.org/mailman/listinfo/red5_osflash.org
--
Dominick Accattato, CTO
Infrared5 Inc.
www.infrared5.com<http://www.infrared5.com>
--
Dominick Accattato, CTO
Infrared5 Inc.
www.infrared5.com<http://www.infrared5.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080717/0ac82edb/attachment-0001.html
More information about the Red5
mailing list