Аноним | вход | зарегистрировать новую учетную запись | 2021-04-17 17:20 EEST |
главная | моя сводка | список вопросов | журнал изменений | план развития | документация | моя учетная запись |
Расширенный вид [ комментарии ] | [ простой вид ] [ история ] [ печать ] | ||||||
Номер | Категория | Серьезность | Воспроизводимость | Создан | Изменен | ||
0000139 | [obex-data-server] General | нововведение | неприменима | 2008-10-04 13:44 | 2009-10-21 20:13 | ||
Инициатор | heston_james | Видимость | общая | ||||
Ответственный | skirsdeda | ||||||
Приоритет | низкий | Решение | решен | Платформа | |||
Состояние | закрыт | Операционная система | |||||
Трудоемкость | нет | Версия ОС | |||||
Примерный срок | нет | Решен в версии | 0.4.5 | Версия продукта | 0.3.4 | ||
Целевая версия | 0.4.5 | Сборка продукта | |||||
Суть | 0000139: Implement logging | ||||||
Подробности |
This is a really minor feature/improvement idea that I've had for some time now and thought I would get your opinions on. We curently just print all obex-data-server output to the command line, however, as the vast majority of people will likely end up running it as a daemon we have no way of watching or tracking what ods is doing when in lights-out mode. I'm proposing we perhaps look at a logging module, like log4c which can have a rotating file handler attached to it so when running in daemon mode ods logs its output to /var/log/obex-data-server.log and rotates out as it grows. I've never dealt with logging in C before so dont really know how plausable this is, however I've used log4j on JAVA projects in the past and found it a very clean way of handling this. Cheers guys, Heston |
||||||
Шаги по воспроизведению | |||||||
Дополнительные сведения | http://log4c.sourceforge.net/ [^] | ||||||
Tэги | Нет прикрепленных тэгов. | ||||||
Вложенные файлы | |||||||
|
![]() |
|
(0000435) skirsdeda (администратор) 2008-10-06 15:24 изменен: 2008-10-06 15:31 |
No need to use log4c or anything like that. Glib has all the necessary infrastructure (see http://library.gnome.org/devel/glib/stable/glib-Message-Logging.html [^] ). We just need to add a log_handler and it will just work. |
(0000436) heston_james (инициатор) 2008-10-06 16:29 |
Oh Great! that certainly makes life simpler. I think we should just look at a simple rotating file handler then, that should work nicely. :-) |
(0000457) skirsdeda (администратор) 2008-10-09 23:32 |
Marking this as low priority. This can be done after 0.4 is out. |
(0000462) Jo (инициатор) 2008-10-10 03:03 |
Quick question here. Tadas, do you plan to release the ODS 0.3.5 or directly go to the release of ODS 4.0? |
(0000463) skirsdeda (администратор) 2008-10-10 03:13 |
Because of my lack of time and because ods svn is already being used widely, I plan to skip 0.3.5 and go straight for 0.4. |
(0000466) heston_james (инициатор) 2008-10-10 12:49 |
Yeah low priority is fine, its not in the least bit important. |
(0000653) skirsdeda (администратор) 2009-08-17 00:44 |
Added logging functionality in svn. Now it's possible to enable/disable debugging messages and log to syslog. |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |