Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
94020a8f
Commit
94020a8f
authored
Feb 14, 2019
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改日志存储
parent
cb1e19d2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Dockerfile
Dockerfile
+1
-1
settings.py
apps/jumpserver/settings.py
+3
-4
No files found.
Dockerfile
View file @
94020a8f
...
...
@@ -9,7 +9,7 @@ COPY ./requirements /tmp/requirements
RUN
yum
-y
install
epel-release openldap-clients telnet
&&
cd
/tmp/requirements
&&
\
yum
-y
install
$(
cat
rpm_requirements.txt
)
RUN
cd
/tmp/requirements
&&
pip
install
-r
requirements.txt
RUN
cd
/tmp/requirements
&&
pip
install
-
i
https://mirrors.ustc.edu.cn/pypi/web/simple
-r
requirements.txt
||
pip
install
-
r
requirements.txt
COPY
. /opt/jumpserver
RUN
echo
>
config.yml
...
...
apps/jumpserver/settings.py
View file @
94020a8f
...
...
@@ -218,10 +218,9 @@ LOGGING = {
'file'
:
{
'encoding'
:
'utf8'
,
'level'
:
'DEBUG'
,
'class'
:
'logging.handlers.TimedRotatingFileHandler'
,
'when'
:
"D"
,
'interval'
:
1
,
"backupCount"
:
7
,
'class'
:
'logging.handlers.RotatingFileHandler'
,
'maxBytes'
:
1024
*
1024
*
100
,
'backupCount'
:
7
,
'formatter'
:
'main'
,
'filename'
:
JUMPSERVER_LOG_FILE
,
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment