Commit graph

34 commits

Author SHA1 Message Date
Hypolite Petovan
afb882048e Generate callstack value from inside Profiler::saveTimestamp
- Save a massive amount of time computing callstacks when profiling is disabled
2020-07-27 02:33:05 -04:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
Hypolite Petovan
61c6daeff0 Add timezone information to logger timestamp 2019-12-24 16:07:36 -05:00
Philipp Holzer
04a86dad75
remove superfluous line 2019-10-22 22:52:40 +02:00
Philipp Holzer
6b2c28e2d7
Add checks & realpath() usage
- New util class "FileSystem"
- Add check in admin summary too
2019-10-22 22:47:37 +02:00
Philipp Holzer
0e84a843a4
Add Fallback in case the logfile isn't accessible.
- Fixes https://github.com/friendica/friendica/issues/7756#issuecomment-544227862
2019-10-21 21:53:55 +02:00
Hypolite Petovan
5dcf6bfc58 Remove extra spaces before closing parentheses in src/ 2019-10-16 08:58:09 -04:00
Philipp Holzer
6c2cf494b5
Remove DependencyFactory
- Include all necessary classes in `dependencies.config.php`
- Add DI-reference to BaseObject (acts as a global registry)
- Refactor all static "init()" methods to use the global registry

- Refactor Logging for Worker-Logger a little bit
2019-07-27 23:54:12 +02:00
Philipp Holzer
d03dedee63 Set Timezone to 'UTC' for every Logger (Develop) 2019-03-22 23:14:48 -04:00
Philipp Holzer
f63956851b Adding Logger Tests 2019-03-22 23:13:26 -04:00
Philipp Holzer
aee348fa02 Adding Logger Tests 2019-03-22 23:13:26 -04:00
Philipp Holzer
eec4ee3fed Rename & Testfix 2019-03-22 23:13:25 -04:00
Philipp Holzer
cc8a6c85ae typo 2019-03-22 23:13:24 -04:00
Philipp Holzer
7658916540 Added StreamLoggerTest 2019-03-22 23:13:24 -04:00
Philipp Holzer
81ba5376d0 Added StreamLogger and ProfilerLogger 2019-03-22 23:13:23 -04:00
Philipp Holzer
22f1983cc0 cleanup sysloglogger 2019-03-22 23:11:14 -04:00
Philipp Holzer
25b6db6aca Moving Profiling to class 2019-03-22 23:07:39 -04:00
Philipp Holzer
4810ca570f Refactored Logging environment (cleaned up) 2019-03-22 23:00:38 -04:00
Philipp Holzer
21158e7699 Syslog - Disabling 2019-03-22 22:55:46 -04:00
Philipp Holzer
d712d36814 Adding UID and Level To String mapping 2019-03-22 22:52:46 -04:00
Philipp Holzer
ae40963507 Code cleanup 2019-03-22 22:52:46 -04:00
Philipp Holzer
ec59e538fc Adding ident 2019-03-22 22:52:46 -04:00
Philipp Holzer
9c5e0ae415 Adding SyslogLogger 2019-03-22 22:52:45 -04:00
Philipp Holzer
2b53784094
Reuse existing Strings::getRandomHex function 2019-02-27 18:32:25 +01:00
Philipp Holzer
ee37632695
Adding worker id & functionname to worker logs 2019-02-22 20:10:27 +01:00
Philipp Holzer
d7e35b5802
Making the processor name more explicit 2019-01-28 18:41:29 +01:00
Philipp Holzer
26af96f31a
improving code 2019-01-28 18:26:35 +01:00
Philipp Holzer
88e2cc9fa2
removing array prefix (compatibility) 2019-01-28 11:35:08 +01:00
Philipp Holzer
a5e12f53e8
Logger Unique ID 2019-01-28 11:21:48 +01:00
Michael
b90c8c6346 Logger: Display the correct file, function and line number 2019-01-24 14:23:42 +00:00
Philipp Holzer
7634663970
Adding an explicit FriendicaProcessor 2019-01-24 08:13:44 +01:00
Philipp Holzer
2e602afd3e Add Monolog 2019-01-21 10:10:40 -05:00
Hypolite Petovan
2f49c4a058 Revert "Add monolog" 2019-01-21 10:08:09 -05:00
Philipp Holzer
8f9c0fe149 Adding Develop and normal Logging instances 2019-01-21 09:59:08 -05:00