2012-09-25 80 views
0

我在glassfish裏面使用tinylog來記錄我的web服務請求。這裏是一個日誌聲明:tinylog格式化像錢一樣的普通數字

Logger.info("record received from user: {0}, stationAxisId: {1}. inserted with recordId: {2}. server timestamp: {3}", username, stationAxisId, res.recordId, res.timeStamp); 

問題是stationAxisId這是整數。但我在日誌文件中看到的是:

addNewRecord-INFO-record received from user: kia, stationAxisId: 10,543,201. inserted with recordId: 56. server timestamp: 1391/07/04 13:55:35.348 

它格式化stationAxisIs喜歡錢。我該如何解決它?

回答