History log of /haiku/src/servers/syslog_daemon/syslog_output.cpp
Revision Date Author Comments
# 4bf862e3 21-Apr-2015 Axel Dörfler <axeld@pinc-software.de>

syslog_daemon: Converted to BServer.

* Instead of letting the kernel search for the syslog port, the
daemon now registers itself with the kernel (which even solves
a TODO).
* A port is created for the actual log messages from the launch_daemon,
and used on start.
* However, the SyslogTest does not yet work, due to the BMessage <->
KMessage communication problems.


# 4b7e2196 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/common for good

* Remove support for the "common" installation location from packagefs,
package kit, package daemon, package managers.
* Rename the B_COMMON_*_DIRECTORY constants referring to writable
directories to B_SYSTEM_*_DIRECTORY.
* Remove/adjust the use of various B_COMMON_*_DIRECTORY constants.
I'm sure some occurrence still remain. They can be adjusted when the
remaining B_COMMON_*_DIRECTORY constants are removed.


# 3fed1a15 05-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

Get app_server working on x86_64.

With this commit, app_server now compiles and runs at boot! Nothing
particularly interesting happens, just the blue background and a mouse
pointer. Remote backends are broken and not compiled in, see #8834.
Note that it won't be possible to build this quite yet, need to get
the FreeType package uploaded.


# c9025d91 16-Jan-2010 Axel Dörfler <axeld@pinc-software.de>

* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35105 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 75263988 21-Nov-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Fixed syslog permissions.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34177 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4db9f969 17-Feb-2008 Axel Dörfler <axeld@pinc-software.de>

Added "FTP" facility string.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24002 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bd03cdc1 19-Jul-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

axeld:
Don't print a message that couldn't be written to the syslog to stdout.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21659 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 19ca4fb5 01-May-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

insert the missing space


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20954 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e2796402 29-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Made maximum syslog size and inclusion of timestamps configureable in kernel settings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20905 a95241bf-73f2-0310-859d-f6bbb57e9c96


# afef4f3f 30-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

The syslog_daemon now ignores zero length messages, and the kernel's syslog
mechanism doesn't send them out any longer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16153 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 46252218 25-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

Now adds the header to every line of the message received.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16079 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 91845703 24-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

* "<TRUNC>" was added one byte too late, causing the stack to be overwritten.
* now makes sure the message string received is null terminated.
* made buffer size depending on the syslog defines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16072 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9f8a0739 17-Jan-2005 Axel Dörfler <axeld@pinc-software.de>

The daemon now runs on top of our kernel, so it should now write to
the real syslog.
Also, find_directory() now makes sure that the path to the syslog
actually exists.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10797 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8afbc321 12-Nov-2003 Axel Dörfler <axeld@pinc-software.de>

Fixed some bugs concerning switching the log when it's getting too large:
never closed old file - with BeOS, it would only get deleted if the server
would be restarted... good for disk fragmentation etc.
Also, renaming failed if there already was a syslog.old file - it's now
removed first.
Furthermore, the first time the syslog was opened, its size was not checked,
the first output always went through.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5346 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1cb317b4 12-Nov-2003 Axel Dörfler <axeld@pinc-software.de>

Implemented syslog output. For now, it will be put into /tmp (i.e. the tests
won't clobber your existing syslog).
The time stamp is currently #ifdef'd out. We might think about adding some
prefs; the facility could also only printed for kernel messages (like in
Be's implementation).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5343 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 95f0fd90 12-Nov-2003 Axel Dörfler <axeld@pinc-software.de>

Implemented the syslog_daemon. Actual syslog output is not yet implemented;
it currently only puts out everything to stdout.
Is able to accept listeners who will get the syslog notes as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5340 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4bf862e3689b034d4e44cf94c5e50fe7ae05aee3 21-Apr-2015 Axel Dörfler <axeld@pinc-software.de>

syslog_daemon: Converted to BServer.

* Instead of letting the kernel search for the syslog port, the
daemon now registers itself with the kernel (which even solves
a TODO).
* A port is created for the actual log messages from the launch_daemon,
and used on start.
* However, the SyslogTest does not yet work, due to the BMessage <->
KMessage communication problems.


# 4b7e219688450694efc9d1890f83f816758c16d3 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/common for good

* Remove support for the "common" installation location from packagefs,
package kit, package daemon, package managers.
* Rename the B_COMMON_*_DIRECTORY constants referring to writable
directories to B_SYSTEM_*_DIRECTORY.
* Remove/adjust the use of various B_COMMON_*_DIRECTORY constants.
I'm sure some occurrence still remain. They can be adjusted when the
remaining B_COMMON_*_DIRECTORY constants are removed.


# 3fed1a15f58e8d6fe6b492f3b94bb3625ffeddbd 05-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

Get app_server working on x86_64.

With this commit, app_server now compiles and runs at boot! Nothing
particularly interesting happens, just the blue background and a mouse
pointer. Remote backends are broken and not compiled in, see #8834.
Note that it won't be possible to build this quite yet, need to get
the FreeType package uploaded.


# c9025d91149d52637f4abad37dbd9f5d175989da 16-Jan-2010 Axel Dörfler <axeld@pinc-software.de>

* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35105 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 752639885acaf53c76f93b14586e768b5cb1284a 21-Nov-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Fixed syslog permissions.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34177 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4db9f9695495b61eacde048d6319c1ce642c9d72 17-Feb-2008 Axel Dörfler <axeld@pinc-software.de>

Added "FTP" facility string.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24002 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bd03cdc1f6d311c8d567a479823388315e76e5b7 19-Jul-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

axeld:
Don't print a message that couldn't be written to the syslog to stdout.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21659 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 19ca4fb578391fa22e714032c9483af85faef498 01-May-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

insert the missing space


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20954 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e27964028ed4fb197ce3331441a1408d5d29fbb1 29-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Made maximum syslog size and inclusion of timestamps configureable in kernel settings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20905 a95241bf-73f2-0310-859d-f6bbb57e9c96


# afef4f3fffe909084c18fb37d9d68ed341fc313d 30-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

The syslog_daemon now ignores zero length messages, and the kernel's syslog
mechanism doesn't send them out any longer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16153 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 46252218c34a21e895283a820bd24e07a4bfedda 25-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

Now adds the header to every line of the message received.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16079 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 91845703f8b82b5c47816a5cef41713454d3a609 24-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

* "<TRUNC>" was added one byte too late, causing the stack to be overwritten.
* now makes sure the message string received is null terminated.
* made buffer size depending on the syslog defines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16072 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9f8a0739b6e2d3a24ad1ae857a45920020707e2e 17-Jan-2005 Axel Dörfler <axeld@pinc-software.de>

The daemon now runs on top of our kernel, so it should now write to
the real syslog.
Also, find_directory() now makes sure that the path to the syslog
actually exists.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10797 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8afbc3212d47323cf38f9f8195d9e6b6d8ff3d21 12-Nov-2003 Axel Dörfler <axeld@pinc-software.de>

Fixed some bugs concerning switching the log when it's getting too large:
never closed old file - with BeOS, it would only get deleted if the server
would be restarted... good for disk fragmentation etc.
Also, renaming failed if there already was a syslog.old file - it's now
removed first.
Furthermore, the first time the syslog was opened, its size was not checked,
the first output always went through.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5346 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1cb317b43ce003e4b64e9d3c28cc8376b973fdcc 12-Nov-2003 Axel Dörfler <axeld@pinc-software.de>

Implemented syslog output. For now, it will be put into /tmp (i.e. the tests
won't clobber your existing syslog).
The time stamp is currently #ifdef'd out. We might think about adding some
prefs; the facility could also only printed for kernel messages (like in
Be's implementation).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5343 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 95f0fd901000d4488ebe9df9ef55fecf6c7ebe01 12-Nov-2003 Axel Dörfler <axeld@pinc-software.de>

Implemented the syslog_daemon. Actual syslog output is not yet implemented;
it currently only puts out everything to stdout.
Is able to accept listeners who will get the syslog notes as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5340 a95241bf-73f2-0310-859d-f6bbb57e9c96