Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Odoo scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo scripts
Commits
35f7af19
Commit
35f7af19
authored
1 year ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
Allow setting log handler instead of log level
parent
487e9395
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS.rst
+5
-0
5 additions, 0 deletions
NEWS.rst
do_tests.zsh
+12
-1
12 additions, 1 deletion
do_tests.zsh
with
17 additions
and
1 deletion
NEWS.rst
+
5
−
0
View file @
35f7af19
...
...
@@ -2,6 +2,11 @@
History
=======
20.9.0
------
Allow setting log handler instead of log level.
20.8.2
------
...
...
This diff is collapsed.
Click to expand it.
do_tests.zsh
+
12
−
1
View file @
35f7af19
...
...
@@ -84,4 +84,12 @@
PG_USER
=
""
ODOO_USER
=
""
fi
if
[[
-n
"
$INSTALL_LOG_HANDLER
"
]]
;
then
INSTALL_ARGUMENTS
=
"
$INSTALL_ARGUMENTS
--log-handler=
${
INSTALL_LOG_HANDLER
}
"
elif
[[
-z
"
$INSTALL_LOG_LEVEL
"
]]
;
then
# default to warn if nothing set
INSTALL_ARGUMENTS
=
"
$INSTALL_ARGUMENTS
--log-level=warn"
fi
# This should be a parameter if it was simple to parse
...
...
@@ -87,5 +95,8 @@
# This should be a parameter if it was simple to parse
INSTALL_ARGUMENTS
=
"--log-level=
${
INSTALL_LOG_LEVEL
:-
warn
}
"
if
[[
-n
"
$INSTALL_LOG_LEVEL
"
]]
;
then
INSTALL_ARGUMENTS
=
"
$INSTALL_ARGUMENTS
--log-level=
${
INSTALL_LOG_LEVEL
}
"
fi
if
[[
-n
"
$ODOO_WITHOUT_DEMO
"
]]
;
then
INSTALL_ARGUMENTS
=
"
$INSTALL_ARGUMENTS
--without-demo=
$ODOO_WITHOUT_DEMO
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment