Commit Graph

72 Commits (9b10d354777f7eea21820aec522c4865fb1663fe)

Author SHA1 Message Date
Joas Schilling a7f26cfe28
Don't log Keys 6 years ago
Christoph Wurst cb057829f7
Update license headers for 19 6 years ago
Christoph Wurst 28f8eb5dba
Add visibility to all constants 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst 41b5e5923a
Use exactly one empty line after the namespace declaration 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 1b4380aae8
Add a PSR-3 logger adapter and make it injectable 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Arthur Schiwon e008444887
always require a message paramter for data logging 6 years ago
Christoph Wurst 1b46621cd3
Update license headers for 18 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma f2ef35dbf1
Fix logger test 6 years ago
Roeland Jago Douma bfaca7fc78
Sensitive values handling 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Julius Härtl 29a6f2d830
Do not escape slashes in log json 6 years ago
Julius Härtl 2efb9a7d90
Make sure SystemConfig class can be injected and syslog_tag is fetched properly 6 years ago
Julius Härtl 07bbec3355
Move log detail aggregation to separate class and reuse it in syslog/systemd logger 7 years ago
Joas Schilling a79da346b6
fix class might be undefined 7 years ago
Arthur Schiwon d6d1666600
remove args from logging of common-spelled methods dependent on class 7 years ago
Arthur Schiwon 4ad8d0c0d8
remove setup args from logging 7 years ago
Morris Jobke e8739e1392
Remove sensitive SMB arguments from exception log 7 years ago
Joas Schilling d8e041a5a2
Don't log parameters on user creation in case of error/exception 7 years ago
Roland Tapken d17856a1e9
Make logfile's mode configurable. 7 years ago
Joas Schilling b788f0a456
Make sure error_log() always receives a string 8 years ago
Robin Appelman 99c00972a0
make exception serializer a bit more robust 8 years ago
Morris Jobke a11d198a06
Sanitize parameters in createSessionToken() while logging 8 years ago
Morris Jobke 10b8a4a8b1
Revert "Fix undeclared method warning in phan" 8 years ago
Morris Jobke f3093b2401
Fix undeclared method warning in phan 8 years ago
Johannes Ernst 72340b2230
Added Systemd.log documentation to config.sample.php 8 years ago
Johannes Ernst 0a65e62f29
Added a logger for systemd/journald 8 years ago
Arthur Schiwon aff5fe68b3
use SystemConfig, less dependencies, and not publicly needed 8 years ago
Arthur Schiwon b841a477c6
log to $datadir/audit.log by default and add rotation 8 years ago
Arthur Schiwon 5751788282
add missing php doc and type hints 8 years ago
Arthur Schiwon a21a5bc4ec
improve Syslog a little 8 years ago
Arthur Schiwon 0e6a317516
revert Log's dependency to SystemConfig to work during Installation 8 years ago
Arthur Schiwon 69592408c4
move IFileBased to public namespace, logreader needs it 8 years ago
Arthur Schiwon cfc3ab0119
offer API to create own File log. admin_audit makes use of it 8 years ago
Arthur Schiwon 5fbf184134
destaticfy Log classes 8 years ago
Arthur Schiwon 38a90130ce
move log constants to ILogger 8 years ago
Robin Appelman f399e1591f
Log classnames of arguments in exception trace 8 years ago
Morris Jobke 058f8123e6
Set the default log rotate size to 100 MB 8 years ago
Robin Appelman b9583c6dce Log exceptions as nested array instead of encoded json 8 years ago
Morris Jobke eb51f06a3b
Use ::class statement instead of string 8 years ago
Morris Jobke a661f043e1
Remove unneeded semicolon and parentheses 8 years ago
Morris Jobke 4ef302c0be
Request->getHeader() should always return a string 8 years ago
Morris Jobke 31c5c2a592
Change @georgehrke's email 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Lukas Reschke c016b01bf9
Ensure log message is UTF-8 encoded 9 years ago