framework/system/dlog.git
11 years ago[systemd] Fix Smack labels for systemd units
Maciej Wereski [Mon, 4 Mar 2013 13:26:21 +0000 (14:26 +0100)]
[systemd] Fix Smack labels for systemd units

systemd unit files should be labeled as "_" Smack label, just as
traditional sysvinit scripts.

Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
11 years agochange dlog platformlog on/off variable name
juho [Fri, 22 Feb 2013 07:27:25 +0000 (16:27 +0900)]
change dlog platformlog on/off variable name

Change-Id: I99f32bf8e759969b2a4de6fa940f7a202a862474

11 years agorelocate checking dlog priority code for performance
juho [Tue, 12 Feb 2013 09:10:09 +0000 (18:10 +0900)]
relocate checking dlog priority code for performance

relocating priority check code
for dlog print performance when it didn't print.

Change-Id: I9b7f128209f99326d1b12f720e625042e2ecb57e

11 years agoremove unused dlog script in rc5.d
juho [Mon, 4 Feb 2013 05:42:41 +0000 (14:42 +0900)]
remove unused dlog script in rc5.d

removed rc5.d/S05dlog

11 years agochange dlog output format
juho [Mon, 4 Feb 2013 05:38:01 +0000 (14:38 +0900)]
change dlog output format

unify dlog output string format with OSP log

11 years agomodified dlogutil smack label
juho [Wed, 30 Jan 2013 14:43:07 +0000 (23:43 +0900)]
modified dlogutil smack label

11 years agofixed build with new compilers
Anas Nashif [Thu, 3 Jan 2013 05:12:32 +0000 (21:12 -0800)]
fixed build with new compilers

error was emitted:
 error: unable to find string literal operator 'operator"" format'

New compiler are strict about syntax

Change-Id: I66111b806bef73870c4858a20d9017c5db71cec1

11 years agoChange license and copyright
juho [Fri, 18 Jan 2013 06:08:36 +0000 (15:08 +0900)]
Change license and copyright

changed a proper license this package
and added AUTHORS ,NOTICE and LICENSE.APLv2 file
and deleted unnecessary files.

Change-Id: I57195593f9bba8f31d31c9028726b19f80ed6efc

11 years agomodified for systemd journal support
juho [Wed, 9 Jan 2013 08:41:46 +0000 (17:41 +0900)]
modified for systemd journal support

modified a correct pkgconfig and journal output format

Change-Id: I49217b0a1abddfbbb50f3074a1c42a1b73d0c4f7

11 years agoadded syslog.h in dlog.c and dlogutil bug fix
juho [Wed, 12 Dec 2012 02:15:54 +0000 (11:15 +0900)]
added syslog.h in dlog.c and dlogutil bug fix

miss add syslog.h in dlog.c
and dlogutil "-b" option bug fix
Change-Id: I6b692bf643958d009d22947f48ffec66eb07efbe

11 years agoplatformloggingmode set default on, and fix dlog to systemd journal support
juho [Mon, 10 Dec 2012 13:51:29 +0000 (22:51 +0900)]
platformloggingmode set default on, and fix dlog to systemd journal support

platformloggingmode set default on, and fix dlog to systemd journal support
check platform logging mode on is file in /opt/etc/dlog/.platformloggingmode
fix tizen_platform_env script
and added syslog.h and fix write_to_log_kernel from dlog to systemd journal code

11 years agosystemd: Add unit to export dlog debug variables globally
Karol Lewandowski [Fri, 7 Dec 2012 15:07:30 +0000 (16:07 +0100)]
systemd: Add unit to export dlog debug variables globally

Change-Id: I0193f1b6b3eb90122be7456efcda63bac690b858

11 years agoFix a script warning
Chengwei Yang [Fri, 7 Dec 2012 01:23:49 +0000 (09:23 +0800)]
Fix a script warning

Change-Id: I96acd34173b3f678bd59709da11302fb78d73683
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agofix LOG_IF macro error
juho [Thu, 6 Dec 2012 09:12:57 +0000 (18:12 +0900)]
fix LOG_IF macro error

MACRO arguments error

11 years agofix tizen_platform_env script wrong syntax
juho [Thu, 6 Dec 2012 04:50:07 +0000 (13:50 +0900)]
fix tizen_platform_env script wrong syntax

11 years agofix wrong dlog control script usage message
juho [Thu, 6 Dec 2012 01:47:37 +0000 (10:47 +0900)]
fix wrong dlog control script usage message

addition fix other package build error concerned previous dlog change

Change-Id: I6bc17a062d8feaa077a9ed2cb423c15ba02d81c2

11 years agochange dlog output format and dlog platform logging ctrl
juho [Wed, 5 Dec 2012 09:12:03 +0000 (18:12 +0900)]
change dlog output format and dlog platform logging ctrl

Change-Id: I6f1d6f4d86ef5540e2df4487f45a04157f982d57

12 years agoFix: '-g' conflicts with '-c' option and update help info
Chengwei Yang [Mon, 5 Nov 2012 04:45:02 +0000 (12:45 +0800)]
Fix: '-g' conflicts with '-c' option and update help info

Check options conflict and exit gracefully if conflict occurred.

Before applying this patch
$ dlogutil -g -c
arc = 3, optind = 3 ,Kb 0, rotate 4
ioctl: Bad file descriptor

After applying this patch, it prints help info and exit.

Change-Id: I9133398d6f67cad6aadb6224beddd75ed06ef0dc
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
12 years agoFix incorrect access mode check
Chengwei Yang [Mon, 5 Nov 2012 04:25:41 +0000 (12:25 +0800)]
Fix incorrect access mode check

The O_* variales are integers and aren't not suitable with bit
operation, because O_RDONLY is 0, so if the mode is O_RDONLY, (mode &
O_RDONLY) always return false. So the access mode is always 0,
that means F_OK rather than R_OK.

Change-Id: If750f85864d32f7d0a039b2ee114ef133a311434
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
12 years agoAdd fundamental list functions to manage log devices
Chengwei Yang [Fri, 2 Nov 2012 09:04:32 +0000 (17:04 +0800)]
Add fundamental list functions to manage log devices

This commit does the below things:
* Add fundamental list functions to manage log devices
* Fix a issue that if both log system and log apps are available, the
  latter will overwrite the devices->next!
* release memory at exit

Change-Id: Iebc3f8d2b34d6abbd834b07a31e0c2ebba01b63b
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
12 years agoFix help info
Chengwei Yang [Fri, 2 Nov 2012 06:41:24 +0000 (14:41 +0800)]
Fix help info

Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
12 years agochanged default dlog logging file size
juho [Wed, 24 Oct 2012 09:19:15 +0000 (18:19 +0900)]
changed default dlog logging file size

12 years agoremoved wrong device rules
juho [Wed, 24 Oct 2012 09:18:29 +0000 (18:18 +0900)]
removed wrong device rules

12 years agoinsert LICENSE file
juho [Wed, 24 Oct 2012 09:16:31 +0000 (18:16 +0900)]
insert LICENSE file

12 years agoAuthor: Karol Lewandowski <k.lewandowsk@samsung.com>
juho [Wed, 24 Oct 2012 09:14:46 +0000 (18:14 +0900)]
Author: Karol Lewandowski <k.lewandowsk@samsung.com>
Date:   Tue Aug 28 09:31:01 2012 +0900

    Use same dlog configuration as found on original SLP images.

    Anything different will confuse developers which is last thing we
    wan't to do right now.

    Additionally, drop DefaultDependencies=no, as when logging to files
    we need rw /var.

12 years ago Import systemd support patches from RSA
juho [Wed, 24 Oct 2012 09:13:01 +0000 (18:13 +0900)]
   Import systemd support patches from RSA

     - Fix post section.

       Remove dlog-util's post file creation, move into install section.

Signed-off-by: William Douglas <william.douglas@intel.com>
     - add systemd unit files

Signed-off-by: William Douglas <william.douglas@intel.com>
     - Fix initscript symlinks

       [ Author: Patrick McCarty <patrick.mccarty@linux.intel.com> ]

Bastardized-by: Karol Lewandowski <k.lewandowsk@samsung.com>
12 years agoenable app dlog macro
juho [Wed, 5 Sep 2012 09:26:30 +0000 (18:26 +0900)]
enable app dlog macro

Change-Id: I528f3b73de47042b3bc1fd632479cd1ea52caefd

12 years agoDon't die in case of messages lacking priority in first byte
Karol Lewandowski [Thu, 16 Aug 2012 11:33:29 +0000 (20:33 +0900)]
Don't die in case of messages lacking priority in first byte

dlogutil expects first byte of message returned from kernel
to be priority selector.  This is not always the case - misbehaving
apps can write anything to /dev/log_* causing dlogutil to crash.

This commit fixes this problem and logs such messages with "[NO TAG]"
string at "error" priority.

12 years agotizen_2.0 merged 2.0_alpha submit/master/20120920.151109
juho [Wed, 22 Aug 2012 12:25:13 +0000 (21:25 +0900)]
tizen_2.0 merged

12 years agoupload tizen1.0 source
Kim Kibum [Sun, 29 Apr 2012 07:59:59 +0000 (16:59 +0900)]
upload tizen1.0 source

12 years agoupdate for beta universally
Yan Yin [Wed, 14 Mar 2012 04:07:23 +0000 (12:07 +0800)]
update for beta universally

12 years agoGit init
Kibum Kim [Fri, 6 Jan 2012 15:44:37 +0000 (00:44 +0900)]
Git init

12 years agoInitial empty repository
Eunkyoung Kim [Fri, 6 Jan 2012 12:59:40 +0000 (21:59 +0900)]
Initial empty repository