diff options
author | Hung-ying Tyan <tyanh@google.com> | 2009-08-01 10:11:46 +0800 |
---|---|---|
committer | Hung-ying Tyan <tyanh@google.com> | 2009-08-01 10:11:46 +0800 |
commit | e81f51f44b4cfb8316de1d206038414ee6f6e96b (patch) | |
tree | e0ea02d004c77df56fb98fc5d9d48b875420ed7f /cmds | |
parent | 1f1602e7291ab2b4d8d76db33c89828b6e58e6c0 (diff) | |
download | frameworks_base-e81f51f44b4cfb8316de1d206038414ee6f6e96b.zip frameworks_base-e81f51f44b4cfb8316de1d206038414ee6f6e96b.tar.gz frameworks_base-e81f51f44b4cfb8316de1d206038414ee6f6e96b.tar.bz2 |
Change some log.i to log.d.
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/keystore/netkeystore.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds/keystore/netkeystore.c b/cmds/keystore/netkeystore.c index eac455e..637e0d8 100644 --- a/cmds/keystore/netkeystore.c +++ b/cmds/keystore/netkeystore.c @@ -37,6 +37,7 @@ #include "netkeystore.h" #include "keymgmt.h" +#define DBG 1 #define CMD_PUT_WITH_FILE "putfile" typedef void CMD_FUNC(LPC_MARSHAL *cmd, LPC_MARSHAL *reply); @@ -397,12 +398,12 @@ int main(const int argc, const char *argv[]) // read the command, execute and send the result back. if(read_marshal(s, &cmd)) goto err; - LOGI("new connection\n"); + if (DBG) LOGD("new connection\n"); execute(&cmd, &reply); write_marshal(s, &reply); err: memset(&reply, 0, sizeof(LPC_MARSHAL)); - LOGI("closing connection\n"); + if (DBG) LOGD("closing connection\n"); close(s); } |