Here's the VS2003 solution for those that are interested:
http://www.ronosaurus.com/log4net/2005-09-16_JSharpWrapper_VS2003.zip
I play with it more over the weekend. This solution doesn't feel very
elegant. I wonder if there isn't a better way to go about solvin the
problem...
--- David Thielen
Yep - that's it.
What I want to have happen is for the output right after "between", where it
is called from my Logger.jsl to be identical to the first output (except for
the line number).
So that the logging gives the file/line that called my log.error() rather
than the file/line in Logger.jsl.
I'm not using VS2005 :(
I changed the project over to VS2003 and was able to generate this
screen shot:
http://www.ronosaurus.com/log4net/2005-09-16_jsharp_and_log4net.png
Does that exhibit the behavior your experiencing? Should there not be
question marks for the last two messages?
--- David
Hi;
I put the zip file up on http://www.windward.net/log4j4net.ZIP - anyone is
welcome to look at it, I'm giving it to the apache logging group if they
want it once I'm done.
Look for the bugbug comments. Also, there is a project WindwardReports in
the solution, but I did not include it as it's n
Unless someone has a better idea, I think your best bet is to make a
very very simple J# console app that demonstrates your problem and make
it available for download somewhere (or email me off list) so we can
play around with it. Perhaps zip containing a directory with the
necessary files and the
Hi;
I am writing a J# wrapper around log4net. I am doing this by
implementing the public classes in log4j using it’s package/names so my
java code is common source between java and J#.
I have it working except it uses the file name & line
number from my Logger.jsl instead of the app
Yep it works fine. But you never know if there is some subtle problem that
hits in production so I figure better to ask.
Thanks - dave
-Original Message-
From: Ron Grabowski [mailto:[EMAIL PROTECTED]
Sent: Friday, September 16, 2005 11:02 AM
To: Log4NET User
Subject: Re: Asking again: l
Did you try it? If it works then I'd say its ok to use the 1.1 dll.
--- David Thielen <[EMAIL PROTECTED]> wrote:
>
>
> Hi;
>
>
>
> For .net 2.0, should I use the .net 1.1 dll?
>
>
>
> Thanks - dave
>
>
>
>
Hi;
For .net 2.0, should I use the .net 1.1 dll?
Thanks – dave
Wesky,
Write your own class that derives from FileAppender. Check out how I did it
here:
http://insario.com/blog/jfk/
-Josh
From: ??? [mailto:[EMAIL PROTECTED]
Sent: Thu 9/15/2005 11:14 PM
To: log4net-user@logging.apache.org
Subject: Dynamically Setting File Na
Hi
all,
I have an
MsmqAppender and would like to set the queueName property (to which the message
should be sent) at runtime. Google turns up a few links that indicate that
this is possible (generically). Does anyone have a code snipped that does
something like this that you would be wi
Wow, good catch Ron. I read the docs on that property and didn't think it
was related to the output so dismissed it.
Thanks for the help!
Jon
-Original Message-
From: Ron Grabowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 15, 2005 7:02 PM
To: Log4NET User
Subject: RE: Layou
12 matches
Mail list logo