google-code-export / smslib

Automatically exported from code.google.com/p/smslib
1 stars 0 forks source link

smsserver file interface not working #491

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I'm using the following configuration just for testing purposes, and I'm 
wondering if the file logging is actually working... or i'm doing something 
wrong.

interface.1=file1, SimpleInboundFileLogger, inbound
file1.filename=logger.txt

i've set settings.delete_after_processing to yes, in order to check if messages 
are being read from my phone, and they're successfully deleted.

i'm calling smsserver as follows: java -jar smsserver-3.5.2.jar

the file logger.txt doesn't get created, even when inbound messages are being 
deleted.

Any hints?
Thanks in advance.

Original issue reported on code.google.com by jbres...@movizen.com on 25 May 2012 at 12:26

GoogleCodeExporter commented 9 years ago
Hey Thanasis, looks like the way i was calling the .jar was wrong.
If I call smsserver as follows, everything works ok:

java -cp dist\lib\smsserver-3.5.2.jar -Dsmsserver.configdir=./ 
-Dlog4j.configuration="file:misc/Log4j Sample Configuration/log4j.properties" 
org.smslib.smsserver.SMSServer

Original comment by jbres...@movizen.com on 28 May 2012 at 11:08

GoogleCodeExporter commented 9 years ago
Hello,

Thanks for reporting back :)

Original comment by T.Delenikas on 29 May 2012 at 6:39