Côme Chilliet
c0ce272e9c
chore: Migrate away from OC::$server->getLogger
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
4ヶ月前
Josh Richards
7a212b1f38
Fix log rotation notification level (warning->info)
Fixes #42537
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
5ヶ月前
Faraz Samapoor
9fa9975bc9
Refactors lib/private/Log.
Mainly using PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
11ヶ月前
Côme Chilliet
426c0341ff
Use typed version of IConfig::getSystemValue as much as possible
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1年前
Carl Schwan
48d9c4d2b0
Port existing server code to new interface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2年前
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3年前
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4年前
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4年前
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4年前
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4年前
Arthur Schiwon
b841a477c6
log to $datadir/audit.log by default and add rotation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6年前
Arthur Schiwon
38a90130ce
move log constants to ILogger
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6年前
Morris Jobke
058f8123e6
Set the default log rotate size to 100 MB
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6年前
Morris Jobke
eb51f06a3b
Use ::class statement instead of string
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6年前
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6年前
Robin Appelman
54f96e5f58
Get the logfile location while running the logrotate cron job instead of when registering the job
Signed-off-by: Robin Appelman <robin@icewind.nl>
7年前
Joas Schilling
ba87db3fcc
Fix others
8年前
Roeland Jago Douma
03f1a270cc
Move \OC\Log to PSR-4
8年前
Thomas Müller
682821c71e
Happy new year!
8年前
Morris Jobke
c60c793cf2
More cleanups of OC_Config usage
8年前
Morris Jobke
b945d71384
update licence headers via script
8年前
Thomas Müller
d3ac73c0c9
Remove OC_Log
9年前
Jenkins for ownCloud
b585d87d9d
Update license headers
9年前
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9年前
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9年前
Thomas Müller
9c9dc276b7
move the private namespace OC into lib/private - OCP will stay in lib/public
Conflicts:
lib/private/vcategories.php
10年前
Morris Jobke
d4952bd9df
fix typo
10年前
Bart Visscher
3fd2df4088
Only enable logrotate when configured. Also rotate size is settable.
10年前
Bart Visscher
42f3ecb60f
Check for installed state before registering the logrotate background job
11年前
Bart Visscher
62560ef859
Add description to log rotate class
11年前
Bart Visscher
594a2af75a
Review fixes
11年前
Bart Visscher
b5e2842e00
Very simple log rotation
11年前