summaryrefslogtreecommitdiffstats
path: root/liblog
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-05-27 07:39:56 -0700
committerMark Salyzyn <salyzyn@google.com>2015-06-02 15:26:53 -0700
commit117c3220400bcffce74470ebcf2179d6845cb78b (patch)
tree0fa6c0f614070546768ad96569037582be776914 /liblog
parentcdb73b034d1a546afc34302896a3cdc72dbdc8e6 (diff)
downloadsystem_core-117c3220400bcffce74470ebcf2179d6845cb78b.zip
system_core-117c3220400bcffce74470ebcf2179d6845cb78b.tar.gz
system_core-117c3220400bcffce74470ebcf2179d6845cb78b.tar.bz2
logcat: -f flag to continue
(cherry pick from commit f3555d9427425c2cba9600ceffb49305c440aa4a) On startup, check the current logging content, then grab logs from that time forward rather than restarting from the beginning. Add support for reading tail time down to the nano-second. Bonus, permits us to create a logcatd logpersist daemon Bug: 19608716 Change-Id: Iaab58de4c02b7f97c69de12cf954fedc2163059e
Diffstat (limited to 'liblog')
-rw-r--r--liblog/log_time.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblog/log_time.cpp b/liblog/log_time.cpp
index 50742df..9d5ea0e 100644
--- a/liblog/log_time.cpp
+++ b/liblog/log_time.cpp
@@ -22,7 +22,7 @@
#include <log/log_read.h>
-const char log_time::default_format[] = "%m-%d %H:%M:%S.%3q";
+const char log_time::default_format[] = "%m-%d %H:%M:%S.%q";
const timespec log_time::EPOCH = { 0, 0 };
// Add %#q for fractional seconds to standard strptime function