我在 glassfish 中使用 tinylog 来记录我的 Web 服务请求。这是一个日志语句:
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
像金钱一样格式化。我该如何解决?