|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
LOGGER configuration |
cb888trader
|
Post subject: LOGGER configuration |
Post rating: 0
|
Posted: Sun 25 Nov, 2012, 06:28
|
|
User rating: 0
Joined: Tue 22 Nov, 2011, 12:47 Posts: 130 Location: United States,
|
I moved my strategy classes from the package singlejartest into my own package name.
from that moment - I did not see any LOGGER.info messages in the java console.
Where is the logging configuration file located? (running on mac)
Also - how to change logging severity?
|
|
|
|
 |
API Support
|
Post subject: Re: LOGGER configuration |
Post rating: 0
|
Posted: Mon 26 Nov, 2012, 08:30
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
cb888trader wrote: I moved my strategy classes from the package singlejartest into my own package name.
from that moment - I did not see any LOGGER.info messages in the java console.
Where is the logging configuration file located? (running on mac) It is in the /rc folder. cb888trader wrote: Also - how to change logging severity? See: https://logging.apache.org/log4j/1.2/manual.html
|
|
|
|
 |
cb888trader
|
Post subject: Re: LOGGER configuration |
Post rating: 0
|
Posted: Mon 26 Nov, 2012, 08:50
|
|
User rating: 0
Joined: Tue 22 Nov, 2011, 12:47 Posts: 130 Location: United States,
|
please provide more information:
In JForex:
On Mac - where is the /rc folder located?
On Windows - where is the /rc folder located?
In Stand Alone mode:
On Mac - where is the /rc folder located?
On Windows - where is the /rc folder located?
|
|
|
|
 |
API Support
|
Post subject: Re: LOGGER configuration |
Post rating: 0
|
Posted: Mon 26 Nov, 2012, 09:12
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
We mistaked it's in: JForex-SDK\libs\log4j.properties
|
|
|
|
 |
cb888trader
|
Post subject: Re: LOGGER configuration |
Post rating: 0
|
Posted: Mon 26 Nov, 2012, 12:57
|
|
User rating: 0
Joined: Tue 22 Nov, 2011, 12:47 Posts: 130 Location: United States,
|
support,
I did not find any JForex-SDK folder on my mac.
PLEASE advice -
On MAC - where is the logger configuration file?? both Stand Alone AND JForex (UI)
On Windows - SAME AS ABOVE
please provide full path names!
Kindly.
|
|
|
|
 |
API Support
|
Post subject: Re: LOGGER configuration |
Post rating: 0
|
Posted: Mon 26 Nov, 2012, 13:20
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
cb888trader wrote: I did not find any JForex-SDK folder on my mac. What JForex-SDK and JForex-API versions are you using? Please use the latest ones: viewforum.php?f=113cb888trader wrote: On MAC - where is the logger configuration file?? both Stand Alone AND JForex (UI) You can't change logging settings of the JForex platform.
|
|
|
|
 |
cb888trader
|
Post subject: Re: LOGGER configuration |
Post rating: 0
|
Posted: Mon 26 Nov, 2012, 16:46
|
|
User rating: 0
Joined: Tue 22 Nov, 2011, 12:47 Posts: 130 Location: United States,
|
I'm using 2.7.5. So where is the config located on MAC.
In JFOREX - please provide a way to configure a logging level in the next release.
|
|
|
|
 |
API Support
|
Post subject: Re: LOGGER configuration |
Post rating: 0
|
Posted: Mon 26 Nov, 2012, 16:59
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
cb888trader wrote: I'm using 2.7.5. So where is the config located on MAC. The project structure platform independent. Download https://www.dukascopy.com/client/jforexl ... ex-SDK.zip, navigate to the JForex-SDK project root, find the libs folder and inside it find the log4j.properties file.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|