in reply to Log::Log4perl configuration looks suspicious: No loggers defined

Does anyone knows the reason that the log messages are not written in the errorLog4Perl.log?

Its almost impossible to know without a self-contained example

If I try to load the config file you posted I get ERROR: you didn't tell me how to implement your appender 'LOG1'

Try again please

  • Comment on Re: Log::Log4perl configuration looks suspicious: No loggers defined

Replies are listed 'Best First'.
Re^2: Log::Log4perl configuration looks suspicious: No loggers defined
by Anonymous Monk on May 18, 2015 at 23:14 UTC
    Oh, I figured it out, an empty file says Log::Log4perl configuration looks suspicious: No loggers defined

      Hello Anonymous Monk,

      Apologies for the late reply. I finally found what I was doing wrong. I was loading the *.log file instead of the *.conf. That was the reason that I was getting this mistake. I will update my question hopping to assist other people in getting confused with these minor problem.

      Thank you for your time and effort.

      Seeking for Perl wisdom...on the process of learning...not there...yet!
Re^2: Log::Log4perl configuration looks suspicious: No loggers defined
by thanos1983 (Parson) on May 19, 2015 at 23:59 UTC

    Hello Anonymous Monk,

    Apologies for the late reply. I finally found what I was doing wrong. I was loading the *.log file instead of the *.conf. That was the reason that I was getting this mistake. I will update my question hopping to assist other people in getting confused with these minor problem. I have also removed the LOG1 you are right about that comment.

    Thank you for your time and effort.

    Seeking for Perl wisdom...on the process of learning...not there...yet!