aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-11 14:14:01 +0100
committerChocobozzz <me@florianbigard.com>2019-12-11 14:14:01 +0100
commit566c125d6eee3bd907404523d94e1e0b5e403a46 (patch)
treec477cdd2ba745015d80052968c37927b1bca1254 /server/initializers
parent92e0f42e8ce5f1ab5e4023900b8194627231a11b (diff)
downloadPeerTube-566c125d6eee3bd907404523d94e1e0b5e403a46.tar.gz
PeerTube-566c125d6eee3bd907404523d94e1e0b5e403a46.tar.zst
PeerTube-566c125d6eee3bd907404523d94e1e0b5e403a46.zip
Serve audit logs to client
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index af70e7b88..bdabe7f66 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -603,6 +603,8 @@ const FEEDS = {
603} 603}
604 604
605const MAX_LOGS_OUTPUT_CHARACTERS = 10 * 1000 * 1000 605const MAX_LOGS_OUTPUT_CHARACTERS = 10 * 1000 * 1000
606const LOG_FILENAME = 'peertube.log'
607const AUDIT_LOG_FILENAME = 'peertube-audit.log'
606 608
607// --------------------------------------------------------------------------- 609// ---------------------------------------------------------------------------
608 610
@@ -684,6 +686,7 @@ export {
684 BCRYPT_SALT_SIZE, 686 BCRYPT_SALT_SIZE,
685 TRACKER_RATE_LIMITS, 687 TRACKER_RATE_LIMITS,
686 FILES_CACHE, 688 FILES_CACHE,
689 LOG_FILENAME,
687 CONSTRAINTS_FIELDS, 690 CONSTRAINTS_FIELDS,
688 EMBED_SIZE, 691 EMBED_SIZE,
689 REDUNDANCY, 692 REDUNDANCY,
@@ -693,6 +696,7 @@ export {
693 OAUTH_LIFETIME, 696 OAUTH_LIFETIME,
694 CUSTOM_HTML_TAG_COMMENTS, 697 CUSTOM_HTML_TAG_COMMENTS,
695 BROADCAST_CONCURRENCY, 698 BROADCAST_CONCURRENCY,
699 AUDIT_LOG_FILENAME,
696 PAGINATION, 700 PAGINATION,
697 ACTOR_FOLLOW_SCORE, 701 ACTOR_FOLLOW_SCORE,
698 PREVIEWS_SIZE, 702 PREVIEWS_SIZE,