logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Deboy" <sde...@comotivsystems.com>
Subject RE: ChainSaw - accessing a file on a VM
Date Mon, 18 Aug 2008 16:18:34 GMT
OK, here are the details:

Follow the instructions here:
http://logging.apache.org/chainsaw/distributionnotes.html

The $user.home/.chainsaw folder will already exist, but you'll have to
create the $user.home/.chainsaw/plugins folder and copy the required
jars into that folder.

I have these jars in my .chainsaw/plugins folder:
commons-logging-1.1.1.jar
commons-vfs-1.0.jar
log4j-chainsaw-vfs.jar

You'll need to add the jCIFs jar to that folder

Also, under application-wide settings, there is a 'remove security
manager' checkbox that you need to check.

Restart Chainsaw and it should work.

The chainsaw-log tab will contain additional information if you don't
see the receiver in the receivers panel or no tab is created containing
the events.


For those of you using VFS to access ssh-accessible files with the
WebStart version of Chainsaw:

Add the target server to your $user.home/.ssh/known_hosts file (this
requirement is removed in trunk but that version has not yet been
released).


Scott Deboy
Principal Engineer
COMOTIV SYSTEMS
111 SW Columbia Street Ste. 950
Portland, OR  97201
Office: 503.224.7496
Direct Line: 503.821.6482
Cell: 503.997.1367
Fax: 503.222.0185
sdeboy@comotivsystems.com
www.comotivsystems.com

-----Original Message-----
From: mehyar.badii@gmail.com [mailto:mehyar.badii@gmail.com] On Behalf
Of Aux Board
Sent: Monday, August 18, 2008 6:53 AM
To: Log4J Users List
Subject: Re: ChainSaw - accessing a file on a VM

Thank you to all those who kindly responded (ie Jacob, Scott and Curt).
A question for Scott. I'm trying to use Jakarta Commons VFS but can't
get it
to work (java.lang.ClassNotFoundException:
org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver)! Is there
anywhere
a straightforward 101 checklist that I can use instead? I have Win2000
installed on the VM (where the log file is) and XP on the workstation
with
the ChainSaw.
Thanks once again,
Doost/Mehyar

2008/8/14 Curt Arnold <carnold@apache.org>

>
> On Aug 14, 2008, at 11:04 AM, Curt Arnold wrote:
>
>> Looks like you'd be better off using the shared folders capabilities
of
>> your VM software and access the log file with a local path name.
>>
>>
>>
> Or you could use NET USE to map the share to a drive letter and then
use
> the drive letter in the URL.
>
> c:\> NET USE q: \\192.168.1.100\folder /USER:foo /PASSWORD:bar
>
> Then use file:///q:/share-path
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message