Hey, just add a file called log4j.properties with these lines  :

log4j.logger.smslib=DEBUG, smslib
log4j.appender.smslib=org.apache.log4j.ConsoleAppender
log4j.appender.smslib.layout=org.apache.log4j.PatternLayout
log4j.appender.smslib.layout.ConversionPattern=%-6r %d [%t] %-5p %C %x -
%m%n


-- 
Márcio De Mendonça Mancine Dantas
Sócio Diretor Hash-Sistemas - (www.hash-sistemas.com.br/)
Consultor em Sabbatini Consultores Associados
Bacharel em Informática Biomédica - USP Ribeirão Preto


On Tue, Aug 28, 2012 at 10:41 AM, SMSLib Discussion Group on behalf of emmy
<
smslib+noreply-apn2wqcrthowywhooq-xkgpv5kcopk0fwoeglbbcxvems2...@googlegroups.com
> wrote:

> Hi everyone!
> though i am new to this library, i have installed the smslib and can
> read/send sms from the examples given. i tried running (i.e the run from)
> the sms server from the IDE platform but all it prints  is:
>
> SMSLib: A Java API library for sending and receiving SMS via a GSM modem
> or other supported gateways.
> This software is distributed under the terms of the Apache v2.0 License.
> Web Site: http://smslib.org
>
> SMSLib API version: 3.5.1
> SMSServer version: 3.5.1
>
> *log4j:WARN No appenders could be found for logger (smslib).
> log4j:WARN Please initialize the log4j system properly.*
> BUILED SUCCESSFUL
> please can someone help me on how to redirect the smsserver to look
> somewhere foe its .conf file
> thanks in advance................
>
> --
> You received this message because you are subscribed to the Google Groups
> "SMSLib Discussion Group" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msg/smslib/-/y2ndd5LQ1K4J.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to