|
O*******d 发帖数: 20343 | 2 我用GPS logger基本上是给照片做Geotagging。 一直希望有一个可以显示卫星时间的
GPS receiver。 |
|
y*********e 发帖数: 7269 | 3 【 以下文字转载自 Outdoors 讨论区 】
发信人: yellowapple (人有大头,我有小头), 信区: Outdoors
标 题: 极简主义者的GPS Receiver/Logger, HOLUX M.241
发信站: BBS 未名空间站 (Thu Jun 17 13:48:13 2010, 美东)
一直在找一个小GPS,要求是小巧,方便,通用性好,有LCD直接读经纬度。
现在买了HOLUX M241,基本解决了我的多个问题。
Hiking的时候,M241小巧,和一个胶卷壳一样,几乎没有额外负担。LCD能直接读经纬度,结合地形图,快
速定位。还能测距,估算距离,功能足够用。当然Hiking时候罗盘还是带一个的,GPS
的方向只有在稳定行进的时候比较准。测试在峡谷森林里,比Garmin etrax准。用一节
五号电池,非常容易获得备用电池,能持续用12个小时。修改设置还能更加省电。
做车载GPS的时候,有蓝牙功能,能将一些无GPS的手持设备如itouch或者netbook,PDA
等结合导航软件,变成导航设备,无需独立车载GPS。GPS的精度也比很多手机上面的
aGPS更 |
|
x**i 发帖数: 403 | 4 我使用 XML format的log file作为系统日志,append=true,只有一个log file.但每
次我重启系统,就会在原文件的尾巴上再加上一段format 的信息,
请问如何能在log file以存在的情况下,免除这段信息? |
|
b******y 发帖数: 9224 | 5 I'd prefer just roll your own. How hard it is to write a damn logger?
log4j I think is too complicated. I don't like those big apps where they do
everything for you.
Anyway, if I were you, I would just write it myself, nice and simple. |
|
b******y 发帖数: 9224 | 6
Well, I am a bit fan of writing my own stuff. Think of Google, Amazon, etc.
I don't think they use any off the shelf products to do their business.
Anyway, different point of view.
I have written a simple logger, that logs to a file and rotate per day basis
, works like a charm. It is used on a site that is accessed by tens of
thousands of people per day. So, performance is good enough.
I heard log4j might be a problem because it tries to do the classloader
itself, so, potentially, it could mes |
|
b******y 发帖数: 9224 | 7 goodbug, I agree with you on the most part.
I do intent to investigate the log4j and see if I could use it for some
projects.
For not re-inventing the wheel, I think I've done the wheel (my own logger),
haha, so, reinventing the wheel is more like not to use another library
since mine works fine ;-) |
|
k***r 发帖数: 4260 | 8 i have not used log4j before. Anyone care to explain a bit how it's better
than java logger? thanks in advance |
|
t*******e 发帖数: 684 | 9
When you have more than one web apps running in the same JVM, typically, you
want to output separate logging files corresponding to individual
application. The settings of JVM logger are system properties shared by all
the apps. Consequently, you have to programmatically call the logging API
inside you web apps to differentiate the logging file names. Log4j doesn't
have the issue since its settings are loaded by a specific application
classloader. |
|
s******e 发帖数: 493 | 10 the best implementation in java is using common logging api as the
abstraction layer.
then you can stuff in any logger impls compatible with that api. |
|
h*********e 发帖数: 247 | 11 我刚试了一个<>的例子,
svn co http://svn.springbyexample.org/enterprise/simple-spring-jms/tags/1.0.1/ simple-spring-jms
惊讶的发现logger.info print 出来的 date time 竟然比实际时间(Wed Dec 28 18:50
:02 EST 2011) 提前5个小时: Dec 28 2011 23:49:58!!!
Dec 28 2011 23:49:58 INFO org.springbyexample.jms.JmsMessageListener -
Processe
和
[INFO] Finished at: Wed Dec 28 18:50:02 EST 2011
哪位知道这是咋回事,也许哪儿有locale设置成比如德国, 我试着search “de" in
eclipse, 但没找到。
请参看下边输出,
....\SpringByExample\simple-spring-jms>mvn clean install
De... 阅读全帖 |
|
j*****a 发帖数: 436 | 12 The logger layout class used ch.qos.logback.classic.PatternLayout. The QOS.
ch is a Switzerland company. |
|
t**r 发帖数: 3428 | 13 有人用过slf4j simple logger么,太他妈的难用了
怎么配置 都不成。就是写不进log.
不知道是simplelogger的问题还是log4j的接口问题。
苦于是接手别人的项目。 |
|
l**********n 发帖数: 8443 | 14 try to dump out your classpath, if you use simple logger, then you have to
make sure slf4j-simple-1.7.12.jar is in your classpath.
DO NOT place more than one binding in your classpath |
|
w******t 发帖数: 16937 | 15 分特,想看专业的?
看这个。声明:因为网络安全原因,我删去了一些必须删去的内容。
http://schema.org/WebPage">Google
|
|