NHibernate Profiler won't start logging

149 views
Skip to first unread message

Emil Åström

unread,
Jan 12, 2010, 9:03:32 AM1/12/10
to nhusers
Hi,

I'm trying to get started using NHibernate Profiler but don't seem to
get it working.

In my case I have a console app and the first thing I call i my main
method is

HibernatingRhinos.NHibernate.Profiler.Appender.NHibernateProfiler.Initialize
();

I believe that should be enough but nothing is logged when I start
NHProf and then my application. Do I have to do anything else?

Thanks in avdance for any guidance!

/Emil

fknebels

unread,
Jan 12, 2010, 10:19:18 AM1/12/10
to nhusers
do you have a reference to HibernatingRhinos.Profiler.Appender.dll?

I'm using NHProf from console and winforms apps without issue.

Emil Åström

unread,
Jan 12, 2010, 11:10:21 AM1/12/10
to nhusers
This embarassing, but the answer is actually no. :-(

I did a mistake and used an old version called
"HibernatingRhinos.NHibernate.Profiler.Appender.dll" instead. When I
switched to the correct version, everything worked just fine...

Thanks,

Emil

On 12 Jan, 16:19, fknebels <fkneb...@gmail.com> wrote:
> do you have a reference to HibernatingRhinos.Profiler.Appender.dll?
>
> I'm using NHProf from console and winforms apps without issue.
>
> On Jan 12, 9:03 am, Emil Åström <emil_ast...@hotmail.com> wrote:
>
>
>
> > Hi,
>
> > I'm trying to get started using NHibernate Profiler but don't seem to
> > get it working.
>
> > In my case I have a console app and the first thing I call i my main
> > method is
>

> > HibernatingRhinos.NHibernate.Profiler.Appender.NHibernateProfiler.Initializ­e


> > ();
>
> > I believe that should be enough but nothing is logged when I start
> > NHProf and then my application. Do I have to do anything else?
>
> > Thanks in avdance for any guidance!
>

> > /Emil- Dölj citerad text -
>
> - Visa citerad text -

Reply all
Reply to author
Forward
0 new messages