I have posted my question to stackoveflow there:
http://stackoverflow.com/questions/17264378/where-i-should-place-log4j-properties-file-to-enable-debug-logging-in-smslib-whe
I'm doing some java maven project based on thucydides-jbehave-archetype.
Smslib dependency is added through maven:
<dependency>
<groupId>org.smslib</groupId>
<artifactId>smslib</artifactId>
<version>dev-SNAPSHOT</version>
</dependency>
...
<repositories>
<repository>
<id>smslib-snapshots</id>
<name>SMSLib Repository</name>
<url>http://smslib.org/maven2/snapshots/</url>
</repository>
</repositories>
Among the pure web tests I plan to do some sms sending/receiving; sms code
is placed in src/main/java/projectname/gsm package (for instance, page
objects are placed in src/main/java/projectname/pages, steps are placed in
src/test/java/projectname.jbehave/). I'd like to enable debug messages for
smslib, but not for thucydides. However, there was no location where
log4j.properties worked for smslib, and there was one location, that
resulted in appearing debug messages for thucydides.
I faced the problem that when I put the Debug-enabled log4j.properties file
to the main/resources or test/resources, in both cases i get debug messages
from thucydides only; and see none from Smslib. Does smslib maven
dependency allows to see debug messages?
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion Group" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/smslib/d62623c8-0dd2-4095-91ed-3ef7497c68f1%40googlegroups.com.