platform/core/system/dlog.git
9 years agoImproving build dependency to libtzplatform-config 01/27901/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.m14.3_ivi tizen_3.0_ivi accepted/tizen/common/20140924.112707 accepted/tizen/ivi/20140927.095033 submit/tizen_common/20140923.154519 submit/tizen_common/20140924.073135 submit/tizen_ivi/20140926.000000 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release tizen_3.0_ivi_release
José Bollo [Mon, 22 Sep 2014 15:38:56 +0000 (17:38 +0200)]
Improving build dependency to libtzplatform-config

Replacement of the hard coded version of the library with
a dynamic version computed from pkg-config.

Change-Id: Ic89537ed70c537cb13bfe12dc37f27817594f353
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
10 years agoClean spec file for yocto compliance. 40/24240/1 accepted/tizen/common/20140915.091246 submit/tizen_common/20140912.150039 submit/tizen_common/20140912.150451 submit/tizen_ivi/20140916.000000
Ronan Le Martret [Wed, 9 Jul 2014 09:20:04 +0000 (11:20 +0200)]
Clean spec file for yocto compliance.

Change-Id: Ida5aa963e8edbe8e4de4dc7d7630e2d93d80d5d0
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
10 years agoMake dlog use only systemd-journal. 24/22724/3 accepted/tizen/common/20140724.002108 accepted/tizen/ivi/20140731.094303 submit/tizen_common/20140709.125058 submit/tizen_ivi/20140729.000000 submit/tizen_ivi/20140729.000001 submit/tizen_ivi/20140730.000000
Marcin Niesluchowski [Wed, 14 May 2014 12:25:11 +0000 (14:25 +0200)]
Make dlog use only systemd-journal.

Remove unnecessary binaries and scripts, change implementation
in order to make dlog use only systemd-journal.

Change-Id: Ia4dc41f444a041d7b1ea4c6e1d1bed8828814b81

10 years agoAdaptation to Multi-Users 56/16456/1 tizen_3.0.m14.2_ivi submit/tizen_common/20140521.163740 submit/tizen_common/20140522.130648 submit/tizen_common/20140522.135644 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000 submit/tizen_ivi/20140623.000000 submit/tizen_ivi/20140624.064036 submit/tizen_ivi/20140626.125712 submit/tizen_ivi/20140626.130032 submit/tizen_ivi/20140626.144348 tizen_3.0.m14.2_ivi_release
José Bollo [Thu, 16 Jan 2014 09:57:00 +0000 (10:57 +0100)]
Adaptation to Multi-Users

Integration of use of tizen-platform-config

Bug-Tizen: PTREL-268

Change-Id: Idd0c6c63aad21e9e7c69ecdb4d1243b49a3f1932
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
10 years agoDon't expose systemd libraries via pkg-config Libs 48/11748/1 accepted/tizen/ivi accepted/tizen/mobile accepted/tizen_generic accepted/tizen_ivi_panda tizen_ivi_panda accepted/tizen/20131104.211649 accepted/tizen/20131105.192344 accepted/tizen/20131112.015031 accepted/tizen/ivi/panda/20140403.014949 accepted/tizen_ivi_stable/20131119.040456 submit/tizen/20131104.210036 submit/tizen_ivi_panda/20140403.011904 submit/tizen_ivi_stable/20131119.032325
Mikko Ylinen [Mon, 4 Nov 2013 11:04:16 +0000 (13:04 +0200)]
Don't expose systemd libraries via pkg-config Libs

pkg-config 'Libs:' specifies link flags specific to this package. However,
systemd journal logging is an internal dependency to libdlog. Therefore, it
is not needed to expose the dependency to libdlog users.

Change-Id: I3e6fe65b1d25c241032a5ecb4e972822340fcdae
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoUpdate changelog 39/11339/1 accepted/tizen/20131024.171033 accepted/tizen/20131025.151140 accepted/tizen/20131101.231307 submit/tizen/20131024.153312 submit/tizen/20131101.231154
Rusty Lynch [Thu, 24 Oct 2013 15:29:44 +0000 (08:29 -0700)]
Update changelog

Change-Id: I4678d885c8146aeb953fa0b71e7f0c41e91945fb
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoFix init to not depend on /dev/log* if journal is enabled 76/11276/1
Mikko Ylinen [Wed, 23 Oct 2013 12:50:50 +0000 (15:50 +0300)]
Fix init to not depend on /dev/log* if journal is enabled

Change-Id: I455fd6f3f5940fc25b424cdfd1beeb6ce9e6e0fd
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoAdd an RPM build config to select libdlog backend 75/11275/1
Mikko Ylinen [Wed, 23 Oct 2013 12:39:24 +0000 (15:39 +0300)]
Add an RPM build config to select libdlog backend

Use RPM build options to select libdlog output destination.

By default, Android logger driver is used. If the build config option is
set, systemd journal backend is selected instead.

Change-Id: Ief38c9b8f1c6e2d51a72257fea6290d0d2f4c23d
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agodo not install sysvinit script 46/9646/1 tizen_ivi_genivi tizen_ivi_release accepted/tizen/20130912.082929 accepted/tizen/20130912.085813 accepted/tizen/20130912.093307 accepted/tizen/ivi/genivi/20140131.041843 accepted/tizen_ivi_release/20131120.050351 ivi_oct_m2 submit/tizen/20130903.191923 submit/tizen/20130912.075707 submit/tizen_ivi_genivi/20140131.040705 submit/tizen_ivi_release/20131120.030013
Anas Nashif [Tue, 3 Sep 2013 17:29:20 +0000 (13:29 -0400)]
do not install sysvinit script

Change-Id: Ifa7a309dc4d9aa0d50a9c3b4786b11c4b345e960

10 years agoupdate changelog submit/tizen/20130903.172404
Anas Nashif [Tue, 3 Sep 2013 17:23:46 +0000 (13:23 -0400)]
update changelog

Change-Id: I6a1754c8159d17d2011d6395177cda472a64fb51

10 years agocleanup spec file 40/9640/1
Anas Nashif [Tue, 3 Sep 2013 15:43:06 +0000 (11:43 -0400)]
cleanup spec file

- Fixed license/groups
- Do not install sysvinit scripts
- Use %license macro for licenses

Change-Id: Id8ace9bd23d087628e211e3277771930418b3db4
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
10 years agoAdd Native platform information log on/off option
Seokhyun Kim [Mon, 24 Jun 2013 05:11:19 +0000 (14:11 +0900)]
Add Native platform information log on/off option

Change-Id: I3ed11f2e7df784e6f8534f6cee22ac07f55ad602

10 years agomodify Requires(post): smack-utils for libdlog
juho [Thu, 20 Jun 2013 07:18:26 +0000 (16:18 +0900)]
modify Requires(post): smack-utils for libdlog

That rules is required for libdlog.
so modified

Change-Id: If625f500e350a2dfb4b1b5fdf6d4d01084d5bca3

10 years agoadd smack-utils requires(post) in spec
juho [Tue, 18 Jun 2013 05:40:03 +0000 (14:40 +0900)]
add smack-utils requires(post) in spec

we use chsmack, as dlog is installed.
so It should be installed to use.
add Requires(post): smack-utils

Change-Id: I2df88ae3caebe18b713494cb37e5caf859dd9050
Signed-off-by: juho <juho80.son@samsung.com>
10 years agochange dlog control logic
juho [Mon, 17 Jun 2013 13:40:29 +0000 (22:40 +0900)]
change dlog control logic

and sync with latest version of private code.

we don't use Environment Variable not anymore.
so we read the configuration file.
for reduce file read operation delay.
copy that file to /tmp as init time by dlog.sh script.
It will be changed, when dlog apply to systemd service.

sync with latest version of private.
added secure dlog macro.
removed unused script for platform environment variable.
added systemd-journal features.

Change-Id: Ia844c90b7cabff66dfbd5d5eb89738b948b0d350

Conflicts:
packaging/dlog.spec
packaging/dlogutil.manifest

11 years agoRemove the extraneous manifests. 57/5657/3 tizen_2.2 accepted/tizen/20130717.234812 submit/tizen/20130717.214418
Graydon, Tracy [Thu, 11 Jul 2013 22:09:15 +0000 (15:09 -0700)]
Remove the extraneous manifests.

Change-Id: I08047aae085fa4a865e182fce1a51a1c30e6d94a

11 years agoMerge "resetting manifest requested domain to floor" into tizen accepted/tizen/20130710.221323 submit/tizen/20130710.124610
Ryan Ware [Mon, 8 Jul 2013 17:07:18 +0000 (10:07 -0700)]
Merge "resetting manifest requested domain to floor" into tizen

11 years agoresetting manifest requested domain to floor 47/5147/1
Alexandru Cornea [Mon, 1 Jul 2013 14:14:01 +0000 (17:14 +0300)]
resetting manifest requested domain to floor

11 years agoresetting manifest requested domain to floor 89/4489/1
Alexandru Cornea [Fri, 28 Jun 2013 14:00:15 +0000 (17:00 +0300)]
resetting manifest requested domain to floor

11 years agoUpdate Changelog 04/4104/1 accepted/tizen/20130628.131953 submit/tizen/20130619.134703 submit/tizen/20130628.134346
Baptiste DURAND [Wed, 19 Jun 2013 13:46:10 +0000 (15:46 +0200)]
Update Changelog

11 years agoFix Spec file and permission according to RPMLINT rules 03/4103/1
Baptiste DURAND [Wed, 19 Jun 2013 13:43:31 +0000 (15:43 +0200)]
Fix Spec file and permission according to RPMLINT rules

Modify summary in spec file
Modify permission on /usr/share/doc/packages/dlogutil/LICENSE.APLv2 (remove executable perm)

11 years agoFix path for systemd services 02/4102/1
Baptiste DURAND [Wed, 19 Jun 2013 13:36:22 +0000 (15:36 +0200)]
Fix path for systemd services

-> use %{_unitdir} instead of %{_libdir}/systemd/system
systemd services should be in /usr/lib/systemd instead of /usr/lib64/systemd

11 years agoMerge branch 'tizen_2.1_smack' into tizen_2.1 tizen_2.1 accepted/tizen/20130524.233204 accepted/tizen/20130527.013350 submit/tizen/20130524.203444 submit/tizen/20130527.020305 submit/tizen_2.1/20130514.052219
juho [Fri, 10 May 2013 08:32:49 +0000 (17:32 +0900)]
Merge branch 'tizen_2.1_smack' into tizen_2.1

11 years agoadd smack rule
juho [Mon, 6 May 2013 08:42:05 +0000 (17:42 +0900)]
add smack rule

Change-Id: I0b0b1423b6732b0122f0117f45d835f8ff755a90

11 years agofix the service file for correct service condition option 2.1b_release accepted/tizen_2.1/20130425.032937 submit/tizen_2.1/20130424.233018
juho [Wed, 17 Apr 2013 08:38:56 +0000 (17:38 +0900)]
fix the service file for correct service condition option

Change-Id: I004f8cc646b27d3520edc0cd87f719e9291af5df

11 years agochange set the platformlogging mode on method in tizen-debug-level.service
juho [Wed, 17 Apr 2013 07:29:09 +0000 (16:29 +0900)]
change set the platformlogging mode on method in tizen-debug-level.service

Change-Id: I660e550e1cf79192297fcdaf1594699e98080db6

11 years agoMerge branch 'master' into tizen_2.1
juho [Fri, 12 Apr 2013 09:07:42 +0000 (18:07 +0900)]
Merge branch 'master' into tizen_2.1

Change-Id: I2c23586a3d7da8977774954afb5deb57c8b103f4

11 years agomerge with master
Jinkun Jang [Fri, 15 Mar 2013 16:18:02 +0000 (01:18 +0900)]
merge with master

11 years agosync
Jinkun Jang [Wed, 13 Mar 2013 03:27:50 +0000 (12:27 +0900)]
sync

11 years agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 16:51:39 +0000 (01:51 +0900)]
Tizen 2.1 base

11 years agodivide smack rules for dlogutil and libdlog
juho [Tue, 12 Mar 2013 07:40:09 +0000 (16:40 +0900)]
divide smack rules for dlogutil and libdlog

modified smak rules
add SECLOG for secure log
modified dlogutil checking dump option and exit code,when it save rotate log files.
modified dloglevel file position.

Change-Id: Icc8672745e6498e7cdd69dbfe93870a633fdf977

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

11 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>
11 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>
11 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>
11 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>
11 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

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

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

11 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.

11 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>
11 years agoenable app dlog macro
juho [Wed, 5 Sep 2012 09:26:30 +0000 (18:26 +0900)]
enable app dlog macro

Change-Id: I528f3b73de47042b3bc1fd632479cd1ea52caefd

11 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.

11 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