Logging in Grails during Integration Testing?

Edit: well, that's probably what you did already, sorry.

Take a look at this recent thread on the user mailing list. You are possibly experiencing the same issue? Edit: well, that's probably what you did already, sorry.

Thanks for the suggestion. I hadn't seen the particular mailing list you mentioned, although I had come across the link that was included that suggests modifying the _GrailsWar. Groovy file.

I wasn't able to work out a solution from the thread unfortunately. – Chris Claxton Jan 3 at 21:53.

I've finally found the solution to my own question. In order to do logging in Integration Tests, I added the following line near the top: import org.apache.commons.logging. LogFactory Then in the class I added the following: def log = LogFactory.

GetLog(getClass()) This was from: grails.1312388.n4.nabble.com/Problems-wi... Then I could do logging, such as log. Debug('*** It works! ***').

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions