platform/core/system/dlog.git
8 years agoshared : set consistent dlogutil format 12/71812/2
Kichan Kwon [Fri, 27 May 2016 07:23:45 +0000 (16:23 +0900)]
shared : set consistent dlogutil format

- TIME PRIORITY TAG PID TID MESSAGE

- If both pid and tid are printed, print 'P' and 'T' to identify these

Change-Id: I59e694feedc8af386440ac00268174fbde994993
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoshared : change dlogutil format "dump" to "kerneltime" 08/71808/2
Kichan Kwon [Fri, 27 May 2016 07:07:52 +0000 (16:07 +0900)]
shared : change dlogutil format "dump" to "kerneltime"

- "dump" is exactly overlapped with "threadtime"

- "kerneltime" prints tv_sec

Change-Id: Id1491c98c7f0f88400911e41a08e05f37b254e4a
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agolibdlog : extend maximum log size when the backend is journal 69/71369/1 accepted/tizen/common/20160526.145955 accepted/tizen/ivi/20160526.094800 accepted/tizen/mobile/20160526.095106 accepted/tizen/tv/20160526.094816 accepted/tizen/wearable/20160526.094959 submit/tizen/20160525.075612
Kichan Kwon [Wed, 25 May 2016 06:56:49 +0000 (15:56 +0900)]
libdlog : extend maximum log size when the backend is journal

- logger and kmsg are already extended

Change-Id: Ia43ea428fbff3d35e478dc39bca1639182b4349a
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agolibdlog : fix error when the backend is journal 48/71348/1 submit/tizen/20160525.062453
Kichan Kwon [Wed, 25 May 2016 06:22:03 +0000 (15:22 +0900)]
libdlog : fix error when the backend is journal

Change-Id: I162da9e3d691da37ae73625b123d1e10c1297ce9
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agodlog_logger: prevent multiple statting. 35/67435/4
Kazimierz Krosman [Tue, 24 May 2016 16:19:09 +0000 (18:19 +0200)]
dlog_logger: prevent multiple statting.

Previously, dlog_logger would stat /etc/localtime each time
it wanted to get the timestamp. Now it will only do so once,
increasing performance.

Change-Id: I001b106f35ce1c87c00c514e28301329d784ed7c
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
Signed-off-by: Kazimierz Krosman <k.krosman@samsung.com>
8 years agoBuild process: reduce journal backend redundancy. 34/67434/4
Kazimierz Krosman [Tue, 24 May 2016 16:18:33 +0000 (18:18 +0200)]
Build process: reduce journal backend redundancy.

Only link journal libraries when actually using that backend.
Do not use the rules file when using that backend.

change-Id: Ibacabaca31657f39e82fc97379d42f66ae904c7c
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
Signed-off-by: Kazimierz Krosman <k.krosman@samsung.com>
8 years agoMerge " Define -1 in the log_id_t" into tizen submit/tizen/20160524.120520
Kichan Kwon [Tue, 24 May 2016 12:03:59 +0000 (05:03 -0700)]
Merge " Define -1 in the log_id_t" into tizen

8 years ago Define -1 in the log_id_t 05/71205/2
Kichan Kwon [Tue, 24 May 2016 11:28:47 +0000 (20:28 +0900)]
 Define -1 in the log_id_t

    - log_id_t is enum type which -1 isn't defined
    - So, if (id < 0) returns false though id is -1

Change-Id: I28bad625b00269e0f3256517b449c7a50efe8a38
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoApply Tizen coding rule 39/67239/3
Kichan Kwon [Tue, 26 Apr 2016 04:16:12 +0000 (13:16 +0900)]
Apply Tizen coding rule

Change-Id: I5fa659ddb9902e72321f2841cb753c7e171cd7b5
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoExtend maximum log size 28/66828/8
Kichan Kwon [Thu, 21 Apr 2016 09:06:29 +0000 (18:06 +0900)]
Extend maximum log size

- 1024 -> 4076 bytes

! Notice : full log includes tag and priority. So, maximum message size is a little bit small.

Change-Id: I812f79b42b7a470e32a3c9795b8e80784349d248
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoModify first release version 99/65099/2 accepted/tizen/common/20160419.142652 accepted/tizen/ivi/20160418.235036 accepted/tizen/mobile/20160418.235000 accepted/tizen/tv/20160418.235022 accepted/tizen/wearable/20160418.235016 submit/tizen/20160418.001756
Kichan Kwon [Thu, 7 Apr 2016 08:06:34 +0000 (17:06 +0900)]
Modify first release version

Change-Id: If617a04afb44fdc875cffc149a48e3f5934ff47e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agocommon: apply Tizen Coding Rule 67/64367/1
Taeyoung Kim [Fri, 1 Apr 2016 00:36:54 +0000 (09:36 +0900)]
common: apply Tizen Coding Rule

Change-Id: I5c7ec73a54ed9efa1960f70c5d67bf762350946f
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agoRevert "Modify default backend" 53/64353/1 accepted/tizen/common/20160401.075458 accepted/tizen/ivi/20160401.023747 accepted/tizen/mobile/20160401.023659 accepted/tizen/tv/20160401.023713 accepted/tizen/wearable/20160401.023732 submit/tizen/20160331.234726
Kunhoon Baik [Thu, 31 Mar 2016 14:15:51 +0000 (07:15 -0700)]
Revert "Modify default backend"

This reverts commit 9cda76d35021217d483bc4d9e2b7678bad9b85ab.

Change-Id: Id8dc2ca28b1bdbee429e21748c67997d8f7a6dca

8 years agoModify default backend 38/64138/1 accepted/tizen/common/20160331.051217 accepted/tizen/ivi/20160330.134240 accepted/tizen/mobile/20160330.134141 accepted/tizen/tv/20160330.134157 accepted/tizen/wearable/20160330.134217 submit/tizen/20160330.112014
Kichan Kwon [Wed, 30 Mar 2016 08:16:13 +0000 (17:16 +0900)]
Modify default backend

- kmsg -> logger

Change-Id: If2b04dd3388d5f0cdf2c7689347c111ad42ca921
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoRemove needless files 44/63944/1
Kichan Kwon [Tue, 29 Mar 2016 02:40:35 +0000 (11:40 +0900)]
Remove needless files

- 01-dlog.rules is replaced to packaging/01-dlog.rules.BACKEND
- dlog_logger.conf-(debug, micro).in aren't used anymore
- dlogutil.sh, used when the backend is journal, isn't needed
 because dlogutil can print journal log

Change-Id: Ibae0dabc7e976e5a42cd3b3f802d40b452c79a69
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agocommon: remove thread unsafe function 97/63497/1 accepted/tizen/common/20160325.135342 accepted/tizen/ivi/20160324.131403 accepted/tizen/mobile/20160324.132553 accepted/tizen/tv/20160324.132448 accepted/tizen/wearable/20160324.132428 submit/tizen/20160324.084910
Taeyoung Kim [Thu, 24 Mar 2016 08:21:59 +0000 (17:21 +0900)]
common: remove thread unsafe function

Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Change-Id: Ib178305e2d8d9729646c68cade35559233fa4037

8 years agoBug fix for "https://review.tizen.org/gerrit/#/c/62539/" 76/63476/1 submit/tizen/20160324.075130
Kunhoon Baik [Thu, 24 Mar 2016 07:36:26 +0000 (16:36 +0900)]
Bug fix for "https://review.tizen.org/gerrit/#/c/62539/"

Change-Id: Ib67fc70e02fc476486027eeab8c2ffe13c8f9001

8 years agoDlog Backend Change 40/62840/3 submit/tizen/20160324.061612
Kunhoon Baik [Sat, 19 Mar 2016 03:43:51 +0000 (12:43 +0900)]
Dlog Backend Change

Emulator -> logger driver
TM1, hawkp -> kmsg

Change-Id: I041a58967088a6a63c439df5479d0af601ae2860
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoFix unsafe code 68/63368/1 accepted/tizen/ivi/20160323.141145 accepted/tizen/mobile/20160323.135929 accepted/tizen/tv/20160323.140125 accepted/tizen/wearable/20160323.135905 submit/tizen/20160323.104541
Kichan Kwon [Wed, 23 Mar 2016 10:38:57 +0000 (19:38 +0900)]
Fix unsafe code

Change-Id: Ic0aed80868531e64a668469121da9c97e417753c
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoClose config file at the end of the function 49/63249/1
Kichan Kwon [Wed, 23 Mar 2016 02:21:46 +0000 (11:21 +0900)]
Close config file at the end of the function

Change-Id: Id800cc9ab63c0f6556baa65e389cfa11f04e2901
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoSubstitute thread unsafed functions 39/62539/3
Kichan Kwon [Wed, 16 Mar 2016 11:42:15 +0000 (20:42 +0900)]
Substitute thread unsafed functions

Change-Id: Ic5a3a50b39ff92ab7fa27c3856e4d9cf01564c81
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoMerge "Set the default backend of wearable target to logger" into tizen
Kichan Kwon [Fri, 11 Mar 2016 04:53:41 +0000 (20:53 -0800)]
Merge "Set the default backend of wearable target to logger" into tizen

8 years agoSet the default backend of wearable target to logger 48/61848/1 accepted/tizen/common/20160316.155220 accepted/tizen/ivi/20160313.114346 accepted/tizen/mobile/20160313.113237 accepted/tizen/tv/20160313.113600 accepted/tizen/wearable/20160313.114001 submit/tizen/20160311.045435
Kichan Kwon [Fri, 11 Mar 2016 02:44:49 +0000 (11:44 +0900)]
Set the default backend of wearable target to logger

- To get more speed

- In current, all kinds of released Tizen wearable devices use kernel
 supporting logger

Change-Id: I78e4128a2a003d6e0ce30de9f26fc5a11616ce8b
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoSet the default backend of wearable target to logger
Kichan Kwon [Fri, 11 Mar 2016 02:44:49 +0000 (11:44 +0900)]
Set the default backend of wearable target to logger

- To get more speed

- In current, all kinds of released Tizen wearable devices use kernel
 supporting logger

Change-Id: I78e4128a2a003d6e0ce30de9f26fc5a11616ce8b
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoRemove compile option about m4 36/61836/1
Kichan Kwon [Fri, 11 Mar 2016 02:08:33 +0000 (11:08 +0900)]
Remove compile option about m4

- dlog.h.m4 is no longer used.

- Related patch : https://review.tizen.org/gerrit/#/c/58843/

Change-Id: I57d9b25c5e931c661973ee09bf96cfa97ed1bda0
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoApply Tizen directory path guide 62/61562/1
Kichan Kwon [Wed, 9 Mar 2016 02:02:26 +0000 (11:02 +0900)]
Apply Tizen directory path guide

- But, there is no changed path

- /opt/etc -> TZ_SYS_ETC (/opt/etc)

Change-Id: Ie27e8df2519d991d74b3f94cabc5481e94f35e1a
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agolibdlog : change the return value when the backend is journal. 55/61355/1 accepted/tizen/common/20160310.065108 accepted/tizen/ivi/20160309.004820 accepted/tizen/mobile/20160309.004726 accepted/tizen/tv/20160309.004744 accepted/tizen/wearable/20160309.004759 submit/tizen/20160308.043916
Kichan Kwon [Mon, 7 Mar 2016 10:45:32 +0000 (19:45 +0900)]
libdlog : change the return value when the backend is journal.

 - Existed : 0(success), ERRNO(fail)
 - Now : written bytes(success), ERRNO(fail)

Change-Id: Icc4e9906079942d727b677c53b909d80b093941e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoRename dlog_debug_mode to debug_mode 16/61116/1 accepted/tizen/common/20160304.204105 accepted/tizen/ivi/20160304.140450 accepted/tizen/mobile/20160304.140342 accepted/tizen/tv/20160304.140412 accepted/tizen/wearable/20160304.140433 submit/tizen/20160304.051343
Kichan Kwon [Fri, 4 Mar 2016 05:09:11 +0000 (14:09 +0900)]
Rename dlog_debug_mode to debug_mode

Change-Id: If9d321f4302024b25940070eee2af733e41d7dcc
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoRevert "Rename dlog_debug_mode to debug_mode" 15/61115/1
Kwon [Fri, 4 Mar 2016 05:08:00 +0000 (21:08 -0800)]
Revert "Rename dlog_debug_mode to debug_mode"

This reverts commit 1bfe01e47df578825f51da5b785b7d3380c77d29.

Change-Id: I7f385b987d95bd310edaf4a1589a569dfdfc9162

8 years agoRename dlog_debug_mode to debug_mode 07/61107/2
Kichan Kwon [Fri, 4 Mar 2016 04:45:21 +0000 (13:45 +0900)]
Rename dlog_debug_mode to debug_mode

Change-Id: I31b2b6cfe61b28a14a909655988e892a274f9e69
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoDelete TIZEN_ENGINEER_MODE 44/58844/2 accepted/tizen/common/20160302.193230 accepted/tizen/ivi/20160302.002927 accepted/tizen/mobile/20160302.002835 accepted/tizen/tv/20160302.002853 accepted/tizen/wearable/20160302.002912 submit/tizen/20160229.023827
Kichan Kwon [Thu, 4 Feb 2016 02:47:59 +0000 (11:47 +0900)]
Delete TIZEN_ENGINEER_MODE

 - It just turns on DLOG_DEBUG_ENABLE

 - Instead, spec file turns on DLOG_DEBUG_ENABLE directly

 - Accordingly, engineer_mode is renamed to dlog_debug_mode

Change-Id: I4f90a604171f1cb41a5867779e1c209a34f2a55b
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoNo longer to use dlog.h.m4 43/58843/2
Kichan Kwon [Thu, 4 Feb 2016 02:37:43 +0000 (11:37 +0900)]
No longer to use dlog.h.m4

Divide existing dlog.h.m4 to below

 - dlog.h : public API

 - dlog-internal.h : macro

Change-Id: I2f310f02323dbd04244493e09ea02916ce4ab663
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agodlog_logger isn't installed if the current backend is journal. 22/58622/1 accepted/tizen/ivi/20160218.023809 accepted/tizen/mobile/20160203.050652 accepted/tizen/tv/20160203.050711 accepted/tizen/wearable/20160203.050729 submit/tizen/20160202.085236 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003
Kichan Kwon [Tue, 2 Feb 2016 08:42:34 +0000 (17:42 +0900)]
dlog_logger isn't installed if the current backend is journal.

 dlog_logger dumps logs "from kernel buffer" onto disk,
so systemd-journal which uses user-level buffer doesn't have to use this.

Change-Id: I14d0de6f8e1919b24c4cf839e86f02d9a03906f6
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoMakefile : make dlog.h first if other files need it. 36/57736/1 accepted/tizen/mobile/20160122.081014 accepted/tizen/tv/20160122.081152 accepted/tizen/wearable/20160122.081215 submit/tizen/20160122.071002
Kichan Kwon [Fri, 22 Jan 2016 06:54:30 +0000 (15:54 +0900)]
Makefile : make dlog.h first if other files need it.

 dlog.h must be existed to build dlog.

 However, when dlog is built in parallel, error can be occurred

because dlog.h is made by m4(not pre-made) in build time.

 Therefore, making dlog.h is preceded with building dlog.

Change-Id: I0c458a8978c13871fbb49529d5678a063f197782
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoPrint error message if read_queued_entry_from_dev returns RQER_PARSE 19/57319/3 accepted/tizen/mobile/20160122.030307 accepted/tizen/tv/20160122.030322 accepted/tizen/wearable/20160122.030346 submit/tizen/20160119.091144
Kichan Kwon [Tue, 19 Jan 2016 02:45:16 +0000 (11:45 +0900)]
Print error message if read_queued_entry_from_dev returns RQER_PARSE

RQER_PARSE is returned when read log has different format with the current backend's.

In current, log format is well converted though the backend is changed.

However, to debug easily, this code is remained.

Change-Id: Ie0055932065054129d0976a31c74cfb1ffec0d08
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agolibdlog : __write_to_log_logger needs to return negative errors 15/57315/1
Kichan Kwon [Tue, 19 Jan 2016 02:40:44 +0000 (11:40 +0900)]
libdlog : __write_to_log_logger needs to return negative errors

This commit fixes the bug introduced by Tizen 2.3 code sync.

Change-Id: I356ee7b12f3fea69007ba3ef9851262b9b845ca6
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agodlog_logger : do nothing and exit if the backend is journal 06/57306/3
Kichan Kwon [Tue, 19 Jan 2016 01:48:29 +0000 (10:48 +0900)]
dlog_logger : do nothing and exit if the backend is journal

dlog_logger dumps logs to file, but journald does same activity.

Therefore, dlog_logger doesn't have to run if journal is backend.

Change-Id: Ifb75d6cc7b21e0ddb4ad38217a8975a22fe678c8
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoqueued_entry : merge exactly same functions 54/57254/1
Kichan Kwon [Mon, 18 Jan 2016 11:00:35 +0000 (20:00 +0900)]
queued_entry : merge exactly same functions

Change-Id: Ia015d6c3d74cb07083a6f173ad42b3c69054667d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agodoc: add macro related part 61/56861/2 accepted/tizen/mobile/20160114.012349 accepted/tizen/tv/20160114.012417 accepted/tizen/wearable/20160114.012435 submit/tizen/20160113.083230
Kichan Kwon [Wed, 13 Jan 2016 08:03:45 +0000 (17:03 +0900)]
doc: add macro related part

Delete needless header file

Change-Id: I8f4146d3306f8544f94928be38d9d7a5ac098a7e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoSet the back-end to logger if the target device is TM1 14/56714/2 accepted/tizen/mobile/20160113.050628 accepted/tizen/tv/20160113.050658 accepted/tizen/wearable/20160113.050720 submit/tizen/20160113.015408
Kichan Kwon [Tue, 12 Jan 2016 08:23:03 +0000 (17:23 +0900)]
Set the back-end to logger if the target device is TM1

* Reasons why other back-ends aren't used are same as follows.

 - TM1 kernel for additional kmsg isn't developed.

 - If journal is used at the TM1, booting speed is markedly slowed.

Change-Id: Ied072e5f089f7456b479ca72a888ceead3dc7aba
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoMake dlog provide multiple back-ends 98/56598/3 accepted/tizen/mobile/20160112.223528 accepted/tizen/tv/20160112.223544 accepted/tizen/wearable/20160112.223606 submit/tizen/20160112.074927
Kichan Kwon [Mon, 11 Jan 2016 09:31:13 +0000 (18:31 +0900)]
Make dlog provide multiple back-ends

 - journal (existing)
 - Additional kmsg* (new)
 - logger (existing)

You can choose the back-end at the build time by modifying packaging/dlog.spec as below.

-----------------------------------------------------------
%define backend_journal OFF
%define backend_kmsg    OFF
%define backend_logger  ON
-----------------------------------------------------------

* Additional kmessage based dlog
 The main improvement of our additional kmessage is same as follows.

 - Multiple "kmsg buffers" : existing kmessage provides one in-kernel circular-buffer,
                            so whole logs are written to this. In ours, developers can
                            write logs to appropriate buffer according to the sender
                            (app, system, etc.). This policy corresponds with logger's,
                            so we can easily substitute logger after it will be deprecated.

 - Privilege : existing kmessage buffers has root authority and only privileged can write
              log messages to. In ours, applications of external developers can write to
              the "kmsg buffers", so developers can debug without changing dlog back-end.

! Notice : now, to use additional kmsg, you should use additional kmsg patched kernel.
          For Galaxy Note4, you can find patches at this link.

https://review.tizen.org/gerrit/#/q/status:open+project:platform/kernel/linux-exynos+branch:tizen+topic:%22kmsg+logger%22

Change-Id: I1c912b2b276b5af1ba46e1c8278bf9fb710e27e2
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agodlog_logger: change smack label of /var/log/dlog 60/56160/1 accepted/tizen/mobile/20160106.003119 accepted/tizen/tv/20160106.003102 accepted/tizen/wearable/20160106.003137 submit/tizen/20160105.054520
Kichan Kwon [Tue, 5 Jan 2016 04:57:46 +0000 (13:57 +0900)]
dlog_logger: change smack label of /var/log/dlog

 - "_" -> "System"

Change-Id: I4b6ee68863a6edd2cfa1d135bc838260a7fba003
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoVersion upgrade 46/55946/1 accepted/tizen/mobile/20151230.223758 accepted/tizen/tv/20151230.223820 accepted/tizen/wearable/20151230.223829 submit/tizen/20151230.090339
Kichan Kwon [Wed, 30 Dec 2015 08:58:44 +0000 (17:58 +0900)]
Version upgrade

Change-Id: I4abf216ac832ef1a4bb8c4f541a81168bc8ee51e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agologprint : use safe functions 70/55870/1 submit/tizen/20151230.034847
Kichan Kwon [Wed, 30 Dec 2015 02:40:29 +0000 (11:40 +0900)]
logprint : use safe functions

Change-Id: I1b33c2dcfeb372e467b130d62201cae3d4415975
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoModify license name 47/55847/2 submit/tizen/20151230.015603
Kichan Kwon [Wed, 30 Dec 2015 01:43:53 +0000 (10:43 +0900)]
Modify license name

Change-Id: I0c7434a525d2d4a15a60c4497996976208702084
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoUse logger if the target is TM1 42/55842/2
Kichan Kwon [Wed, 30 Dec 2015 01:07:54 +0000 (10:07 +0900)]
Use logger if the target is TM1

Change-Id: If4d41343ad63af6a469271e362dae81941443ea7
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agoFix as Tizen coding rule 38/55138/1 accepted/tizen/mobile/20151222.223859 accepted/tizen/tv/20151222.223917 accepted/tizen/wearable/20151222.223937 submit/tizen/20151222.090653 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
pr.jung [Tue, 22 Dec 2015 07:20:13 +0000 (16:20 +0900)]
Fix as Tizen coding rule

Change-Id: I4b50e0b86c2a237eacd7da7b9fd0cdaf9b9ecb2c
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agocommon: make the file telling the current backend 74/54574/3 tizen_kmsg accepted/tizen/mobile/20151217.021616 accepted/tizen/tv/20151217.021507 accepted/tizen/wearable/20151217.021607 submit/tizen/20151216.085934 submit/tizen/20151216.090144 submit/tizen/20151216.091416
Kichan Kwon [Wed, 16 Dec 2015 08:05:03 +0000 (17:05 +0900)]
common: make the file telling the current backend

 - /etc/dlog_backend

 - Content: [journal | logger]

Change-Id: I5ddd3fbcbae6122ae8891cb8a3f2d40703e1613e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
9 years agojournald: add exception handling 94/52094/2 accepted/tizen/mobile/20151119.231912 accepted/tizen/tv/20151119.231920 accepted/tizen/wearable/20151119.231932 submit/tizen/20151119.061722
Kichan Kwon [Thu, 19 Nov 2015 03:16:18 +0000 (12:16 +0900)]
journald: add exception handling

Exception handling, code optimization.

Change-Id: I8e4650a3aff7e7c80c1a3f18f3cbae92078a8ba5
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
9 years agoclean up the Makefile and buggy code 13/47513/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150914.120215 accepted/tizen/tv/20150914.120227 accepted/tizen/wearable/20150914.120249 submit/tizen/20150914.113313 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Sangjung Woo [Fri, 4 Sep 2015 04:51:07 +0000 (13:51 +0900)]
clean up the Makefile and buggy code

* remove 'HAVE_SYSTEMD_JOURNAL' macro that is defined in the code.
* remove unnecessary files such as dlog_logger and its unit files when
systemd-journal is used as log backend.

Change-Id: Idfc9ae4696675a36f5de29b432accf2abb0e8269
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
9 years agodlog_logger: revise installing path of unit files 49/45849/5 accepted/tizen/mobile/20150819.235440 accepted/tizen/tv/20150819.235451 accepted/tizen/wearable/20150819.235506 submit/tizen/20150819.072437 submit/tizen/20150914.110613
Jae-young Hwang [Wed, 12 Aug 2015 02:48:04 +0000 (11:48 +0900)]
dlog_logger: revise installing path of unit files

unit files and rule file are installed into /usr/lib64 directory with 64-bit architecture
But systemd and udev checks /usr/lib directory.
In order to solve that revise spec file to install in /usr/lib directory

Change-Id: Id7decaeb8fb48790423e3554ab8da4214fadccda
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
9 years agolibdlog: change libsystemd API to sd_journal_sendv(3) 26/46126/3 accepted/tizen/mobile/20150818.215948 accepted/tizen/tv/20150818.215956 accepted/tizen/wearable/20150818.220005 submit/tizen/20150818.082824
Jae-young Hwang [Mon, 17 Aug 2015 02:37:48 +0000 (11:37 +0900)]
libdlog: change libsystemd API to sd_journal_sendv(3)

Change-Id: I0327020a7bd6bc60c912a34676d32602d20138a0
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
9 years agoRevert "libdlog: change libsystemd API to sd_journal_sendv(3)" 00/46100/1 accepted/tizen/mobile/20150816.110712 accepted/tizen/tv/20150816.110729 accepted/tizen/wearable/20150816.110737 submit/tizen/20150816.061011
Kunhoon Baik [Sun, 16 Aug 2015 06:05:46 +0000 (23:05 -0700)]
Revert "libdlog: change libsystemd API to sd_journal_sendv(3)"

This reverts commit 3099f562aa1cc3abfb7c6b64f4032f856b9956a3.

Change-Id: Iae1608c84b1485921c695bbfc730b13952865b7a

9 years agolibdlog: change libsystemd API to sd_journal_sendv(3) 59/46059/1 accepted/tizen/mobile/20150814.112833 accepted/tizen/tv/20150814.112950 accepted/tizen/wearable/20150814.112921 submit/tizen/20150814.034010
Jae-young Hwang [Thu, 13 Aug 2015 11:56:11 +0000 (20:56 +0900)]
libdlog: change libsystemd API to sd_journal_sendv(3)

Change-Id: I95c4cae5a376715a9cbef1b2ff6962750e51ff9d
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
9 years agodlogutil: replace with dlogutil script due to scheduling issue 43/45843/1 accepted/tizen/mobile/20150813.011738 accepted/tizen/tv/20150813.011742 accepted/tizen/wearable/20150813.011752 submit/tizen/20150812.024153
Jae-young Hwang [Wed, 12 Aug 2015 01:57:55 +0000 (10:57 +0900)]
dlogutil: replace with dlogutil script due to scheduling issue

Change-Id: I1a59fc8054dee9fe8e38967ea0a5e6e229c89cfb
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
9 years agojournal: support dlogutil 96/43996/1 accepted/tizen/mobile/20150720.074314 accepted/tizen/tv/20150720.074445 accepted/tizen/wearable/20150720.074528 submit/tizen/20150720.022002 submit/tizen/20150812.021907
Jae-young Hwang [Sat, 11 Jul 2015 07:55:42 +0000 (16:55 +0900)]
journal: support dlogutil

Change-Id: I045ef26cf31c6f575051775bdc0545e6046bfb74
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
9 years agobugfix: Replace build config name with DLOG_DEBUG_ENABLE 33/42833/2 submit/tizen/20150703.060558 submit/tizen/20150703.131716
Jae-young Hwang [Fri, 3 Jul 2015 02:52:21 +0000 (11:52 +0900)]
bugfix: Replace build config name with DLOG_DEBUG_ENABLE

build conflict is occured when some packages redefine "TIZEN_DEBUG_ENABLE" config.
in order to solve that, change config name to DLOG_DEBUG_ENABLE.

Change-Id: Ia160504ce02fcfe79b7454922eeb9d2028aeb26b
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
9 years agoAdd dlog.h.m4 for release/debug 87/42787/3 submit/tizen/20150702.125953
Jae-young Hwang [Thu, 2 Jul 2015 08:50:15 +0000 (17:50 +0900)]
Add dlog.h.m4 for release/debug

For checking and enabling engineer mode,
splite define with m4 Change-Id:

Change-Id: I86e2231dba3fd8e19b98d63225f13e2b5d91145e
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
9 years agoApply user and group policy to tizen 3.0 82/41782/7
Marcin Niesluchowski [Wed, 17 Jun 2015 10:54:11 +0000 (12:54 +0200)]
Apply user and group policy to tizen 3.0

"log" user and group with which dlog_logger.service is run does not have
sufficient rights.

Change-Id: Iaeb55f4dc32f80db3503efef28ab1f43082dbc92

9 years agopackaging: reset manifest 39/42039/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150623.080927 submit/tizen_3.0.2015.q2_common/20150622.121948
Stephane Desneux [Mon, 22 Jun 2015 09:41:14 +0000 (11:41 +0200)]
packaging: reset manifest

Change-Id: I89d137c68a730349e8208c471fa852f494634206
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agocleans the pkgconfig 45/40845/2 accepted/tizen/3.0.2015.q2/common/20150615.160019 accepted/tizen/common/20150615.075615 accepted/tizen/mobile/20150616.010257 accepted/tizen/tv/20150616.010320 accepted/tizen/wearable/20150616.010359 submit/tizen/20150610.074828 submit/tizen/20150611.121111 submit/tizen_3.0.2015.q2_common/20150615.075539
José Bollo [Tue, 9 Jun 2015 12:14:49 +0000 (14:14 +0200)]
cleans the pkgconfig

Private requires are to be used every where it is needed
in substitution of simple Requires.

Change-Id: I750f78922af54c3cd96a7b21a036565b9e75cec6
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agoMerge "fix build error for arm64 archtecture" into tizen
chan lee [Mon, 8 Jun 2015 05:01:29 +0000 (22:01 -0700)]
Merge "fix build error for arm64 archtecture" into tizen

9 years agofix build error for arm64 archtecture 47/40647/2
chan lee [Sun, 7 Jun 2015 07:26:50 +0000 (16:26 +0900)]
fix build error for arm64 archtecture

Change-Id: Id7dc2f4fad93df6d7fa03b83da2a25abe27713f5
Signed-off-by: chan lee <chan45.lee@samsung.com>
9 years agodlog_logger: adjust size of dlog file for user binary 46/40646/1
Juho Son [Wed, 19 Nov 2014 05:26:07 +0000 (14:26 +0900)]
dlog_logger: adjust size of dlog file for user binary

system 512KB -> 5MB
main 256KB -> 3MB
radio 256KB -> 1MB

Change-Id: Ie9ea1df509895c10de78244307a7ce07a3444959
Signed-off-by: Juho Son <juho80.son@samsung.com>
Signed-off-by: chan lee <chan45.lee@samsung.com>
9 years agodlog_logger: add dlog_logger configuration for debug mode 45/40645/1
Juho Son [Thu, 11 Sep 2014 08:48:43 +0000 (17:48 +0900)]
dlog_logger: add dlog_logger configuration for debug mode

add the dlog_logger configuration for debug mode.
this configuration set the size of dlog files.
system logs: 5M *2
main logs: 3M * 2
radio logs: 2M * 4

Change-Id: I4c05154295ed5fc7f6f6dc5e0aeb9a59ce4bb5b5
Signed-off-by: Juho Son <juho80.son@samsung.com>
Signed-off-by: chan lee <chan45.lee@samsung.com>
9 years agodlog_logger: change User & Group from root to log 44/40644/1
Hongkuk, Son [Mon, 30 Mar 2015 08:16:38 +0000 (17:16 +0900)]
dlog_logger: change User & Group from root to log

The security team requests dlog_logger daemon's UID for log ( not root ).

Change-Id: If31a729af6ab4d12dcc807b394f0f19916bf4169
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Signed-off-by: chan lee <chan45.lee@samsung.com>
9 years agodoc: modify dlog_doc format 38/40638/1
chan lee [Sat, 6 Jun 2015 09:54:22 +0000 (18:54 +0900)]
doc: modify dlog_doc format

Change-Id: I59de1d7d937ef3f706777e714ba2d0edd61253ee
Signed-off-by: chan lee <chan45.lee@samsung.com>
9 years agodlog: remove comma at end of enum 37/40637/1
Juho Son [Tue, 4 Nov 2014 06:18:28 +0000 (15:18 +0900)]
dlog: remove comma at end of enum

Change-Id: Ib40783a58645adbb55c913cccba20f1906991f95
Signed-off-by: Juho Son <juho80.son@samsung.com>
Signed-off-by: chan lee <chan45.lee@samsung.com>
9 years agoPath activation for dlog_logger.service 36/40636/1
Sangjung Woo [Tue, 10 Feb 2015 02:22:43 +0000 (11:22 +0900)]
Path activation for dlog_logger.service

dlog_logger daemon writes its log into /var/log and /var is symlinked to
/opt/var. However, current dlog_logger.service sometimes failed to
launch because of "DefaultDependencies=no". In order to fix this bug,
dlog_logger.service should be launched just after '/var/log' is shown
and that means /opt is already mounted. This solution is also available
when using single root partition.

Change-Id: Ia1483d1806387f4a8cb5181f20b0adf30d33f305
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Signed-off-by: chan lee <chan45.lee@samsung.com>
9 years agologutil: add limitation size when dump mode 23/40623/3
Juho Son [Thu, 18 Sep 2014 13:26:42 +0000 (22:26 +0900)]
logutil: add limitation size when dump mode

when execute dlogutil for dump mode, we use buffer size to limit
size of write logs.

Change-Id: I7f61e4e6c37ce3e8b8e43989e5bb36a35fec424a
Signed-off-by: Juho Son <juho80.son@samsung.com>
Signed-off-by: chan lee <chan45.lee@samsung.com>
9 years agodlog_logger: remove other's read permission of dlog files 22/40622/1
juho [Fri, 14 Mar 2014 11:48:48 +0000 (20:48 +0900)]
dlog_logger: remove other's read permission of dlog files

Change-Id: I9cc726bf60e855bd1ecd57a29122fafa8f1d87c2
Signed-off-by: juho <juho80.son@samsung.com>
Signed-off-by: chan lee <chan45.lee@samsung.com>
9 years agobuild flag: add ALSR flag to executable binary 02/40602/1
Juho Son [Wed, 26 Nov 2014 10:37:38 +0000 (19:37 +0900)]
build flag: add ALSR flag to executable binary

add -fPIE and -pie flags

Change-Id: I1d90513e3f0aecd1ed4abeb6fa10f34f1dc8fc2b
Signed-off-by: Juho Son <juho80.son@samsung.com>
Signed-off-by: chan lee <chan45.lee@samsung.com>
9 years agocode sync up with tizen 2.3 87/40587/3
chan lee [Fri, 5 Jun 2015 07:37:29 +0000 (16:37 +0900)]
code sync up with tizen 2.3

Dlog package on Tizen 3.0 is too old to use and it is necessary to add many
fixes and some features.
So SYNC UP with current Tizen platform should be needed.

If you want to see the development history,
please see dlog package on Tizen 2.3.
https://review.tizen.org/gerrit/#/admin/projects/platform/core/system/dlog

Change-Id: I5fdfbc8bc3b3f982b26c05fa9f8a603cfcea5055
Signed-off-by: chan lee <chan45.lee@samsung.com>
9 years agoCorrections after revert 20/35620/4
Przemyslaw Kedzierski [Fri, 27 Feb 2015 16:53:24 +0000 (17:53 +0100)]
Corrections after revert

- Add udev rules for log_* devices
- Replace service files by one template
- Add config files containing options for instances of service file
- Change Makefile.am to install config files & rules file
- Add README
- Some fixes imported from reverted e14c322e3
- Some minor fixes: global variables, comments in C style, etc.

Change-Id: I53a245fb914f90909089e3dec5cdf9f768a53c79
Signed-off-by: Przemyslaw Kedzierski <p.kedzierski@samsung.com>
9 years agoChange dlogctrl to binary, add tests 30/35630/2
Przemyslaw Kedzierski [Thu, 19 Feb 2015 18:41:50 +0000 (19:41 +0100)]
Change dlogctrl to binary, add tests

Remove unnecessary script dlogctrl and make
a binary with this name instead.

Add dlog tests.

Change-Id: I22e4aae269527497a9b81236efc495ac75a6eb6a
Signed-off-by: Przemyslaw Kedzierski <p.kedzierski@samsung.com>
9 years agoRemove unnecessary files 96/34996/5
Przemyslaw Kedzierski [Wed, 11 Feb 2015 12:38:18 +0000 (13:38 +0100)]
Remove unnecessary files

Remove unnecessary subdirectory TC (old tests and results)
Reason: deprecated and unmaintainable

Remove unnecessary file dlog.sh
Reason: not installed, not used,
also strict profile oriented in opinion of M.Niesluchowski

Remove unnecessary file  include/SLP_Dlog_PG.h
Reason: not used

Change-Id: Ie4a066da8d4d25e485850e2268ecc107891547ee
Signed-off-by: Przemyslaw Kedzierski <p.kedzierski@samsung.com>
9 years agoRevert "Make dlog use only systemd-journal." 62/34462/3
Przemyslaw Kedzierski [Thu, 5 Feb 2015 09:29:15 +0000 (10:29 +0100)]
Revert "Make dlog use only systemd-journal."

According to requests included in ticket TC-2315
this change reverts commit e14c322e315c51a11f50300735c0797f9924c94e

Change-Id: Id3b7f6688658c944f07ec3a53e181fd4bdb16889
Signed-off-by: Przemyslaw Kedzierski <p.kedzierski@samsung.com>
10 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>
11 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>
11 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>
11 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>
11 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>
11 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

11 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

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

11 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

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