path: root/CommonLibs/Logger.cpp
AgeCommit message (Collapse)AuthorFilesLines
2018-02-20Logger: Remove gLogToConsole flagPau Espin Pedrol1-14/+8
No code is using it and we always lock to console anyways. Change-Id: I5fde99c6af5a845e635b5d27abab855682071f14
2018-02-20Logger: Drop support to log into filePau Espin Pedrol1-19/+1
This feature is currently not being used, so let's simplify current code to move to libosmocore logging system in the future. Change-Id: If2c77c776823f595130edac963be953026049423
2018-02-20Logger: Drop syslog supportPau Espin Pedrol1-19/+1
This feature is currently not being used, so let's drop it to make it easier to integrate into libosmocore logging system in the future. Change-Id: I8282745ef0282d41599eaf94fe460a1d29b18e2a
2018-02-20Logger: get rid of alarm APIsPau Espin Pedrol1-47/+0
It's only used internally inside the Logger module, and in case there's an "alarm" (level more than critical) we still print on cerr, so we can just rely on our system catching stderr instead of stdout to handle it. Change-Id: I6d6df1578c3a4c1a37bd0d69952d443f62eed2ab
2018-02-20Logger: Drop unused gLogEarlyPau Espin Pedrol1-33/+0
Change-Id: I2c8f24fbf453e0a94d7a95c3df7cc75f0e4bd456
2018-01-09Drop use of ConfigurationTable gConfigPau Espin Pedrol1-5/+0
After latest changes, it is not being used anymore. Change-Id: I43a49aee94e3239194ad9742fb6374324acac0de
2018-01-09Logger: Stop using Log.File and Log.Level from configPau Espin Pedrol1-89/+13
This is a required step towards getting rid of ConfigurationTable class and libsqlite dependency. As a side effect, support for different log levels for different files is dropped, but it's not something really being used and we will end up dropping current logging system in favour of osmocom's one in the future anyway. Change-Id: I51cb12d1ab7e103e78190ac71a70fb5bb1d9ff51
2018-01-09Logger: Stop using Log.Alarms.Max from configPau Espin Pedrol1-2/+2
This is a first step towards removing ConfigurationTable class and sqlite3 dependency. Change-Id: Idcd789afe668a5c0271352f1d20d2efda826213a
2017-03-20CommonLibs: Remove unused files.Alexander Chemeris1-0/+26
Change-Id: I2bfb45a1c7d01785bdb30204dba38c683a4288a9
2016-04-20Common: Make sure gLogEarly() log to the same facilities as the normal log.Alexander Chemeris1-6/+33
2015-07-30Logger: Output ERR log messages to stderr as well.Alexander Chemeris1-1/+1
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-07-30Common: Use a scoped lock in the Logger to avoid deadlock on thread cancel.Alexander Chemeris1-2/+1
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-05-24Common: Log to console instead of loging to syslog by default.Alexander Chemeris1-2/+2
2015-05-24Common: Introduce a global variable to disable syslog logging.Alexander Chemeris1-7/+9
When we enable DEBUG logging level, syslog gets Gb's of data and can completely exhaust the file system free space. Now we can just enable it. This is not to say that logging to syslog it just not very useful in general.
2013-05-31syncing commonlibs with Many thanks to Michael Iedema for these patches, ↵kurtis.heimerl1-17/+81
makes config a lot better. git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5655 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-16Sylvain patch #2, with modifications:kurtis.heimerl1-1/+9
CommonLibs: Avoid direct syslog calls in ConfigurationTable We instead introduce a 'log early' facility in Logger.h to accomplish the same Signed-off-by: Sylvain Munaut <tnt@246tNt.com> I added similar code to the reporting functions, which did not exist when sylvain made this patch git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4629 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2011-11-20git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2583 ↵dburgess1-0/+8
2011-10-07Putting the actual OpenBTS P2.8 source code into the public SVN branch.dburgess1-0/+197
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2242 19bc5d8c-e614-43d4-8b26-e1612bc8e597