B4J Question jserver logfile - encoding issue may be?

prajinpraveen

Active Member
Licensed User
Longtime User
Hello,

jServer writes to a log file. I don't know what I did today, the logs appear to prefix with ~ and a number(~l0812517383). is this anything to do with encoding?

[CODE lang="b4x" title="new log"]~l0812517383:Pool Data : pool connections = 3 out of a max. 10

~l0817825798:03/20/2022 20:48:23 SQLExecuteMaps 2: SELECT DI

~l0812517383:Pool Data : pool connections = 3 out of a max. 10

~l0817825798:03/20/2022 20:48:23 SQLExecuteMaps 2: SELECT DIST

~l0812517383:pool Data : pool connections = 3 out of a max. 10

~l0817825798:03/20/2022 20:48:23 SQLExecuteMaps 2: SELECT DISTIN

~l0812517383:pool Data : pool connections = 3 out of a max. 10

~l0817825798:03/20/2022 20:48:23 SQLExecuteMaps 2: SELECT DISTINCT

~l0812517383:pool Data : pool connections = 3 out of a max. 10

~l0817825798:03/20/2022 20:48:23 SQLExecuteMaps 2: SELECT DISTINCT i

~l0812517383:pool Data : pool connections = 3 out of a max. 10

~l0817825798:03/20/2022 20:48:23 SQLExecuteMaps 2: SELECT DISTINCT id,

~l0812517383:pool Data : pool connections = 3 out of a max. 10[/CODE]

instead of the below

[CODE lang="b4x" title="old log"]Scavenger running... (1 page(s) cached)

Dashboard timer is ticking

Pool Data : pool connections = 6 out of a max. 100

VehiclePos_Tick

DownloadLasPosData

(MyMap) {result=OK, size=14, data=[{fuel_value=418, fuel_percent=45, gps_dat

Pool Data : pool connections = 6 out of a max. 100

2022-03-20 18:30:47 SQLExecuteMaps 2: SELECT * FROM config_fuel_vehicles W

VehiclePos_Tick

DownloadLasPosData

(MyMap) {result=OK, size=14, data=[{fuel_value=418, fuel_percent=45, gps_dat

Pool Data : pool connections = 6 out of a max. 100

2022-03-20 18:34:29 SQLExecuteMaps 2: SELECT * FROM config_fuel_vehicles W

VehiclePos_Tick

DownloadLasPosData

(MyMap) {result=OK, size=14, data=[{fuel_value=418, fuel_percent=45, gps_dat[/CODE]
 
When the logs are not redirected to a file and it shows on the IDE, everything seems to be fine

Could this be anything to do with Set slf4j log level

Update : this happens only through B4J IDE. When the program is run from the command line, the log seems to be as expected.
 
Last edited:
Upvote 0
Back
Top