[sip-comm] SIP-Comm's log file


#1

Hi,
I can't find any logs in the directory created by run.bat:

mkdir "%UserProfile%/.sip-communicator/log"

The directory itself is created but no logs there. Could you help me fix
that ?

···

--
Best Regards, Alexander


#2

Hi,

To find out the log, you need to make sure the exact path..
go to net.java.sip.communicator.util.FileHandler and print these statement
in System.out.println.

            String homeLocation =
System.getProperty("net.java.sip.communicator.SC_HOME_DIR_LOCATION");
            String dirName =
System.getProperty("net.java.sip.communicator.SC_HOME_DIR_NAME");

then you will get the right path where its logging..

hope it helps..

···

On Thu, May 14, 2009 at 12:24 PM, Alexander Golubev <golubec@gmail.com>wrote:

Hi,
I can't find any logs in the directory created by run.bat:

mkdir "%UserProfile%/.sip-communicator/log"

The directory itself is created but no logs there. Could you help me fix
that ?

--
Best Regards, Alexander

--
Regards,
Muhammad Saifuddin

Blog : http://saifo.blogspot.com
Profile : http://www.linkedin.com/in/saifuddin


#3

Hi,

"%UserProfile%/.sip-communicator/log" is the old location of the home
directory (config and log files).

The new location will depends on your OS.

On windows, the home dir is located in the application data (APPDIR)
in a directory named "SIP Communicator".
The location is defined in net.java.sip.communicator.launcher.SIPCommunicator

Bye

Damien

···

2009/5/14 Saifuddin <saif.outwit@gmail.com>:

Hi,

To find out the log, you need to make sure the exact path..
go to net.java.sip.communicator.util.FileHandler and print these statement
in System.out.println.

        String homeLocation =

System.getProperty("net.java.sip.communicator.SC_HOME_DIR_LOCATION");
String dirName =
System.getProperty("net.java.sip.communicator.SC_HOME_DIR_NAME");

then you will get the right path where its logging..

hope it helps..

On Thu, May 14, 2009 at 12:24 PM, Alexander Golubev <golubec@gmail.com> > wrote:

Hi,
I can't find any logs in the directory created by run.bat:
mkdir "%UserProfile%/.sip-communicator/log"
The directory itself is created but no logs there. Could you help me fix
that ?
--
Best Regards,
Alexander

--
Regards,
Muhammad Saifuddin

Blog : http://saifo.blogspot.com
Profile : http://www.linkedin.com/in/saifuddin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#4

Thanks Damien, Muhammad!
I was really able to find the log under the APPDIR as you pointed out
Damien.

Another part of the problem - is appearance of log file when you
run SIP-Comm (or application which use it) at your own.

I was trying to deal with the log file to redirect it (or change name
pattern). But
it was failure until i realized that
property -Djava.util.logging.config.file requires
full path to the config file. So it won't be accepted as a resource.

I know, this is common case, but it was my first experince with
java.logging.

Regards,
Alexander.

···

2009/5/15 Damien Roth <damien.roth@gmail.com>

Hi,

"%UserProfile%/.sip-communicator/log" is the old location of the home
directory (config and log files).

The new location will depends on your OS.

On windows, the home dir is located in the application data (APPDIR)
in a directory named "SIP Communicator".
The location is defined in
net.java.sip.communicator.launcher.SIPCommunicator

Bye

Damien

2009/5/14 Saifuddin <saif.outwit@gmail.com>:
> Hi,
>
> To find out the log, you need to make sure the exact path..
> go to net.java.sip.communicator.util.FileHandler and print these
statement
> in System.out.println.
>
> String homeLocation =
> System.getProperty("net.java.sip.communicator.SC_HOME_DIR_LOCATION");
> String dirName =
> System.getProperty("net.java.sip.communicator.SC_HOME_DIR_NAME");
>
> then you will get the right path where its logging..
>
> hope it helps..
>
> On Thu, May 14, 2009 at 12:24 PM, Alexander Golubev <golubec@gmail.com> > > wrote:
>>
>> Hi,
>> I can't find any logs in the directory created by run.bat:
>> mkdir "%UserProfile%/.sip-communicator/log"
>> The directory itself is created but no logs there. Could you help me fix
>> that ?
>> --
>> Best Regards,
>> Alexander
>
>
> --
> Regards,
> Muhammad Saifuddin
>
> Blog : http://saifo.blogspot.com
> Profile : http://www.linkedin.com/in/saifuddin
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

--
Александр.