Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CCS
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marko Mecina
CCS
Commits
70b4f8c7
Commit
70b4f8c7
authored
2 years ago
by
Marko Mecina
Browse files
Options
Downloads
Patches
Plain Diff
set some default logging levels from debug to warning
parent
fdcdbd5e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Tst/tst/dnd_data_parser.py
+1
-1
1 addition, 1 deletion
Tst/tst/dnd_data_parser.py
Tst/tst/tst.cfg
+2
-2
2 additions, 2 deletions
Tst/tst/tst.cfg
Tst/tst/view.py
+1
-2
1 addition, 2 deletions
Tst/tst/view.py
with
4 additions
and
5 deletions
Tst/tst/dnd_data_parser.py
+
1
−
1
View file @
70b4f8c7
...
@@ -7,7 +7,7 @@ import logging
...
@@ -7,7 +7,7 @@ import logging
import
toolbox
import
toolbox
logger
=
logging
.
getLogger
(
__name__
)
logger
=
logging
.
getLogger
(
__name__
)
logger
.
setLevel
(
level
=
logging
.
DEBU
G
)
logger
.
setLevel
(
level
=
logging
.
WARNIN
G
)
console_hdlr
=
toolbox
.
create_console_handler
()
console_hdlr
=
toolbox
.
create_console_handler
()
logger
.
addHandler
(
hdlr
=
console_hdlr
)
logger
.
addHandler
(
hdlr
=
console_hdlr
)
...
...
This diff is collapsed.
Click to expand it.
Tst/tst/tst.cfg
+
2
−
2
View file @
70b4f8c7
...
@@ -6,7 +6,7 @@ tst_products = ${paths:tst}/test_specs
...
@@ -6,7 +6,7 @@ tst_products = ${paths:tst}/test_specs
testing_library
=
${paths:tst}/testing_library
testing_library
=
${paths:tst}/testing_library
[tst-logging]
[tst-logging]
level
=
DEBU
G
level
=
WARNIN
G
log-file-path
=
${logging:log-dir}/tst/tst.log
log-file-path
=
${logging:log-dir}/tst/tst.log
poolmanager
=
${paths:tst}/logs_poolmanager/poolmanager.log
poolmanager
=
${paths:tst}/logs_poolmanager/poolmanager.log
test_run
=
${paths:tst}/logs_test_runs/
test_run
=
${paths:tst}/logs_test_runs/
...
@@ -14,7 +14,7 @@ output-file-path = ${paths:tst}/logs_test_runs/output_files/
...
@@ -14,7 +14,7 @@ output-file-path = ${paths:tst}/logs_test_runs/output_files/
[tst-preferences]
[tst-preferences]
show-json-view
=
True
show-json-view
=
True
main-window-height
=
10
90
main-window-height
=
10
76
main-window-width
=
1920
main-window-width
=
1920
paned-position
=
953
paned-position
=
953
paned-position-codeblockreuse
=
520
paned-position-codeblockreuse
=
520
...
...
This diff is collapsed.
Click to expand it.
Tst/tst/view.py
+
1
−
2
View file @
70b4f8c7
...
@@ -11,7 +11,6 @@ gi.require_version('GtkSource', '3.0')
...
@@ -11,7 +11,6 @@ gi.require_version('GtkSource', '3.0')
from
gi.repository
import
Gtk
,
Gdk
,
GtkSource
from
gi.repository
import
Gtk
,
Gdk
,
GtkSource
# -------------------------------------------
# -------------------------------------------
import
data_model
import
data_model
import
generator
import
dnd_data_parser
import
dnd_data_parser
import
toolbox
import
toolbox
import
cairo
import
cairo
...
@@ -27,7 +26,7 @@ lm = GtkSource.LanguageManager()
...
@@ -27,7 +26,7 @@ lm = GtkSource.LanguageManager()
lngg
=
lm
.
get_language
(
'
python
'
)
lngg
=
lm
.
get_language
(
'
python
'
)
logger
=
logging
.
getLogger
(
__name__
)
logger
=
logging
.
getLogger
(
__name__
)
logger
.
setLevel
(
level
=
logging
.
DEBU
G
)
logger
.
setLevel
(
level
=
logging
.
WARNIN
G
)
console_hdlr
=
toolbox
.
create_console_handler
()
console_hdlr
=
toolbox
.
create_console_handler
()
logger
.
addHandler
(
hdlr
=
console_hdlr
)
logger
.
addHandler
(
hdlr
=
console_hdlr
)
...
...
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