pkginfo-server's log is too much.
This patch remove some logs regarding to socket connect.
Change-Id: Ic1b06bd62cab34a679d387e283acaa4963bbd9e9
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
sqlite3_backup_step(backup, -1);
sqlite3_backup_finish(backup);
- LOGD("Set memory DB(%s)", memorydb_path.c_str());
sqlite3_close_v2(filedb);
return memorydb;
}
}
void AbstractSocket::Disconnect() {
- if (fd_ > 0) {
- LOGW("Close fd(%d)", fd_);
+ if (fd_ > 0)
close(fd_);
- }
+
fd_ = -1;
}
if (static_cast<int>(cond) & (G_IO_ERR | G_IO_HUP)) {
auto it = runner->sid_map_.find(fd);
if (it != runner->sid_map_.end()) {
- LOGW("Socket disconnect. fd(%d) condition(%d)",
- fd, static_cast<int>(cond));
g_source_remove(it->second);
runner->sid_map_.erase(it);
}