Convert some not-so-important info logs to debug logs

This commit is contained in:
Johan Hedberg 2009-03-24 12:31:10 +02:00
parent 434ea1bbed
commit 8e706e2d4f
9 changed files with 19 additions and 18 deletions

View File

@ -1004,7 +1004,7 @@ static void path_unregister(void *data)
{
struct audio_device *dev = data;
info("Unregistered interface %s on path %s",
debug("Unregistered interface %s on path %s",
AUDIO_CONTROL_INTERFACE, dev->path);
control_free(dev);
@ -1024,7 +1024,7 @@ struct control *control_init(struct audio_device *dev)
dev, path_unregister))
return NULL;
info("Registered interface %s on path %s",
debug("Registered interface %s on path %s",
AUDIO_CONTROL_INTERFACE, dev->path);
return g_new0(struct control, 1);

View File

@ -2053,7 +2053,7 @@ static void path_unregister(void *data)
headset_set_state(dev, HEADSET_STATE_DISCONNECTED);
}
info("Unregistered interface %s on path %s",
debug("Unregistered interface %s on path %s",
AUDIO_HEADSET_INTERFACE, dev->path);
headset_free(dev);
@ -2109,7 +2109,7 @@ register_iface:
return NULL;
}
info("Registered interface %s on path %s",
debug("Registered interface %s on path %s",
AUDIO_HEADSET_INTERFACE, dev->path);
return hs;

View File

@ -606,7 +606,7 @@ static void path_unregister(void *data)
{
struct audio_device *dev = data;
info("Unregistered interface %s on path %s",
debug("Unregistered interface %s on path %s",
AUDIO_SINK_INTERFACE, dev->path);
sink_free(dev);
@ -626,7 +626,7 @@ struct sink *sink_init(struct audio_device *dev)
dev, path_unregister))
return NULL;
info("Registered interface %s on path %s",
debug("Registered interface %s on path %s",
AUDIO_SINK_INTERFACE, dev->path);
return g_new0(struct sink, 1);

View File

@ -985,7 +985,8 @@ static void device_unregister(void *data)
{
struct input_device *idev = data;
info("Unregistered interface %s on path %s", INPUT_DEVICE_INTERFACE, idev->path);
debug("Unregistered interface %s on path %s", INPUT_DEVICE_INTERFACE,
idev->path);
/* Disconnect if applied */
disconnect(idev, (1 << HIDP_VIRTUAL_CABLE_UNPLUG));
@ -1071,7 +1072,7 @@ static struct input_device *input_device_new(DBusConnection *conn,
return NULL;
}
info("Registered interface %s on path %s",
debug("Registered interface %s on path %s",
INPUT_DEVICE_INTERFACE, idev->path);
return idev;

View File

@ -517,7 +517,7 @@ static void path_unregister(void *data)
{
struct network_peer *peer = data;
info("Unregistered interface %s on path %s",
debug("Unregistered interface %s on path %s",
NETWORK_PEER_INTERFACE, peer->path);
peers = g_slist_remove(peers, peer);
@ -579,7 +579,7 @@ static struct network_peer *create_peer(const char *path, bdaddr_t *src,
return NULL;
}
info("Registered interface %s on path %s",
debug("Registered interface %s on path %s",
NETWORK_PEER_INTERFACE, path);
return peer;

View File

@ -786,7 +786,7 @@ static void path_unregister(void *data)
struct network_server *ns = data;
struct network_adapter *na = ns->na;
info("Unregistered interface %s on path %s",
debug("Unregistered interface %s on path %s",
ns->iface, na->path);
na->servers = g_slist_remove(na->servers, ns);
@ -887,7 +887,7 @@ int server_register(const char *path, bdaddr_t *src, uint16_t id)
ns->enable = TRUE;
na->servers = g_slist_append(na->servers, ns);
info("Registered interface %s on path %s", ns->iface, path);
debug("Registered interface %s on path %s", ns->iface, path);
return 0;
}

View File

@ -785,7 +785,7 @@ static int register_interface(const char *path, struct btd_adapter *adapter)
return -EIO;
}
info("Registered interface %s on path %s", SERVICE_INTERFACE, path);
debug("Registered interface %s on path %s", SERVICE_INTERFACE, path);
if (serv_adapter->adapter == NULL)
serv_adapter_any = serv_adapter;

View File

@ -204,7 +204,7 @@ static void path_unregister(void *data)
{
struct serial_device *device = data;
info("Unregistered interface %s on path %s", SERIAL_PORT_INTERFACE,
debug("Unregistered interface %s on path %s", SERIAL_PORT_INTERFACE,
device->path);
devices = g_slist_remove(devices, device);
@ -463,7 +463,7 @@ static struct serial_device *create_serial_device(DBusConnection *conn,
return NULL;
}
info("Registered interface %s on path %s",
debug("Registered interface %s on path %s",
SERIAL_PORT_INTERFACE, path);
return device;

View File

@ -700,7 +700,7 @@ static void proxy_path_unregister(gpointer data)
struct serial_proxy *prx = data;
int sk;
info("Unregistered proxy: %s", prx->address);
debug("Unregistered proxy: %s", prx->address);
if (prx->type != TTY_PROXY)
goto done;
@ -738,7 +738,7 @@ static int register_proxy_object(struct serial_proxy *prx, char *outpath, size_t
if (outpath)
strncpy(outpath, path, size);
info("Registered proxy: %s", path);
debug("Registered proxy: %s", path);
return 0;
}
@ -1148,7 +1148,7 @@ int proxy_register(DBusConnection *conn, const char *path, bdaddr_t *src)
adapters = g_slist_append(adapters, adapter);
info("Registered interface %s on path %s",
debug("Registered interface %s on path %s",
SERIAL_MANAGER_INTERFACE, path);
return 0;