[JPP-Devel] openjump.log

2013-04-24 Thread Uwe Dalluege
Hi,

it seems, that the openjump.log file contains also
informations about old sessions.
So it grows und grows.

Is there an option in OJ to log only
the current session?

uwe

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] openjump.log

2013-04-24 Thread Chris Warner
In the xml file there are several nodes that specify the logging levels, 
for example

appendername=INFO_LOGFILEclass=org.apache.log4j.FileAppender

param  name=Threshold  value=info/
param  name=File  value=openjump_debug.log/
param  name=Append  value=true/  
layout  class=org.apache.log4j.PatternLayout

!-- Date : %d{ISO8601} display date in -MM-dd HH:mm:ss,SSS 
format --
!-- Priority : %p display the priority level  
--
!-- Message  : %m%n displays the log message (%n = os specific 
newline)   --
param  name=ConversionPattern  value=%d{ISO8601} %5p %m%n/
/layout
/appender


In this case, the param nameAppend value=true must be changed toparam nameAppend 
value=*false*


On 24/04/2013 13:00, Uwe Dalluege wrote:

Hi,

it seems, that the openjump.log file contains also
informations about old sessions.
So it grows und grows.

Is there an option in OJ to log only
the current session?

uwe

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] openjump.log

2013-04-24 Thread Uwe Dalluege
Hi Chris,

perfect!
Thank you.

uwe


Am 24.04.2013 14:04, schrieb Chris Warner:
 In the xml file there are several nodes that specify the logging levels,
 for example
 appendername=INFO_LOGFILEclass=org.apache.log4j.FileAppender

  param  name=Threshold  value=info/
  param  name=File  value=openjump_debug.log/
  param  name=Append  value=true/
  layout  class=org.apache.log4j.PatternLayout
  !-- Date : %d{ISO8601} display date in -MM-dd 
 HH:mm:ss,SSS format --
  !-- Priority : %p display the priority level
   --
  !-- Message  : %m%n displays the log message (%n = os specific 
 newline)   --
  param  name=ConversionPattern  value=%d{ISO8601} %5p %m%n/
  /layout
  /appender


 In this case, the param nameAppend value=true must be changed toparam 
 nameAppend value=*false*


 On 24/04/2013 13:00, Uwe Dalluege wrote:
 Hi,

 it seems, that the openjump.log file contains also
 informations about old sessions.
 So it grows und grows.

 Is there an option in OJ to log only
 the current session?

 uwe

 --
 Try New Relic Now  We'll Send You this Cool Shirt
 New Relic is the only SaaS-based application performance monitoring service
 that delivers powerful full stack analytics. Optimize and monitor your
 browser, app,  servers with just a few lines of code. Try New Relic
 and get this awesome Nerd Life shirt!http://p.sf.net/sfu/newrelic_d2d_apr
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] openjump.log

2012-03-21 Thread Uwe Dalluege
Hi,

when I start OpenJUMP and have a look
inside the log-file openjump.log
I see some warnings:


2012-03-21 11:50:06,782  WARN class 
org.openjump.core.ui.plugin.file.SaveImageAsSVGPlugIn could not be 
initialized
2012-03-21 11:50:06,783  INFO java.lang.NoClassDefFoundError: 
org/apache/batik/svggen/SVGGraphics2D
2012-03-21 11:50:12,818  WARN ECW loader class 
com.ermapper.ecw.JNCSRenderer not installed.
2012-03-21 11:50:12,822  WARN ECW loader class 
com.ermapper.ecw.JNCSRenderer not installed.
2012-03-21 11:50:12,830  WARN lib\ext\etc\mrsidgeodecode.exe not installed.

Is this correct?

Is it possible, to switch the path for the
log-file with an option to another path?
I like to use OpenJUMP for many users
and want to put the OJ-directory
to a central server and then make
a link to oj_windows.bat.

For the workbench-state.xml file
there is the -state option.
For example:

-state z:\workbench-state.xml

This works fine. Every user has its own
workbench-state.xml file.

But what shall I do with the log-file?

Thanks and regards

Uwe

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] openjump.log

2012-03-21 Thread edgar . soldin
On 21.03.2012 12:03, Uwe Dalluege wrote:
 Hi,
 
 when I start OpenJUMP and have a look
 inside the log-file openjump.log
 I see some warnings:
 
 
 2012-03-21 11:50:06,782  WARN class 
 org.openjump.core.ui.plugin.file.SaveImageAsSVGPlugIn could not be 
 initialized
 2012-03-21 11:50:06,783  INFO java.lang.NoClassDefFoundError: 
 org/apache/batik/svggen/SVGGraphics2D
 2012-03-21 11:50:12,818  WARN ECW loader class 
 com.ermapper.ecw.JNCSRenderer not installed.
 2012-03-21 11:50:12,822  WARN ECW loader class 
 com.ermapper.ecw.JNCSRenderer not installed.
 2012-03-21 11:50:12,830  WARN lib\ext\etc\mrsidgeodecode.exe not installed.
 
 Is this correct?

perfectly normal for the CORE edition. these are just warnings.

 
 Is it possible, to switch the path for the
 log-file with an option to another path?
 I like to use OpenJUMP for many users
 and want to put the OJ-directory
 to a central server and then make
 a link to oj_windows.bat.

check line 8 of oj_windows.bat
http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/scripts/oj_windows.bat?view=markup

the locations of state,log,logsettings files are defined via SETTINGS_HOME, by 
default JUMP_HOME (if writable) or %HOMEDRIVE%%HOMEPATH%\.openjump assuming 
that the users profile is writable.

 
 For the workbench-state.xml file
 there is the -state option.
 For example:
 
 -state z:\workbench-state.xml
 
 This works fine. Every user has its own
 workbench-state.xml file.
 
 But what shall I do with the log-file?
 

you currently cannot move it via a parameter independently, sorry. you'd have 
to use the mechanism explained above.

..ede

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] openjump.log

2012-03-21 Thread Uwe Dalluege
Hi Ede,

thank you for the advice. It works fine!

Regards

Uwe


Am 21.03.2012 13:30, schrieb edgar.sol...@web.de:
 On 21.03.2012 12:03, Uwe Dalluege wrote:
 Hi,

 when I start OpenJUMP and have a look
 inside the log-file openjump.log
 I see some warnings:


 2012-03-21 11:50:06,782  WARN class
 org.openjump.core.ui.plugin.file.SaveImageAsSVGPlugIn could not be
 initialized
 2012-03-21 11:50:06,783  INFO java.lang.NoClassDefFoundError:
 org/apache/batik/svggen/SVGGraphics2D
 2012-03-21 11:50:12,818  WARN ECW loader class
 com.ermapper.ecw.JNCSRenderer not installed.
 2012-03-21 11:50:12,822  WARN ECW loader class
 com.ermapper.ecw.JNCSRenderer not installed.
 2012-03-21 11:50:12,830  WARN lib\ext\etc\mrsidgeodecode.exe not installed.

 Is this correct?

 perfectly normal for the CORE edition. these are just warnings.


 Is it possible, to switch the path for the
 log-file with an option to another path?
 I like to use OpenJUMP for many users
 and want to put the OJ-directory
 to a central server and then make
 a link to oj_windows.bat.

 check line 8 of oj_windows.bat
 http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/scripts/oj_windows.bat?view=markup

 the locations of state,log,logsettings files are defined via SETTINGS_HOME, 
 by default JUMP_HOME (if writable) or %HOMEDRIVE%%HOMEPATH%\.openjump 
 assuming that the users profile is writable.


 For the workbench-state.xml file
 there is the -state option.
 For example:

 -state z:\workbench-state.xml

 This works fine. Every user has its own
 workbench-state.xml file.

 But what shall I do with the log-file?


 you currently cannot move it via a parameter independently, sorry. you'd have 
 to use the mechanism explained above.

 ..ede

 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel