8
8
9
9
/*
10
10
:Author: David Goodger ([email protected] )
11
- :Id: $Id: html4css1.css 9511 2024 -01-13 09:50:07Z milde $
11
+ :Id: $Id: html4css1.css 8954 2022 -01-20 10:10:25Z milde $
12
12
:Copyright: This stylesheet has been placed in the public domain.
13
13
14
14
Default cascading style sheet for the HTML output of Docutils.
15
- Despite the name, some widely supported CSS2 features are used.
16
15
17
16
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
18
17
customize this style sheet.
275
274
margin-left : 2em ;
276
275
margin-right : 2em }
277
276
278
- pre .code .ln { color : gray ; } /* line numbers */
277
+ pre .code .ln { color : grey ; } /* line numbers */
279
278
pre .code , code { background-color : # eeeeee }
280
279
pre .code .comment , code .comment { color : # 5C6576 }
281
280
pre .code .keyword , code .keyword { color : # 3B0D06 ; font-weight : bold }
301
300
span .pre {
302
301
white-space : pre }
303
302
304
- span .problematic , pre . problematic {
303
+ span .problematic {
305
304
color : red }
306
305
307
306
span .section-subtitle {
@@ -369,14 +368,14 @@ <h1 class="title">REST Log</h1>
369
368
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
369
!! source digest: sha256:f93e58dbd77af1254adb0cd7ace54af0b0609569883ed4a22028f11f0b663139
371
370
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
- < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/lgpl-3.0-standalone.html "> < img alt ="License: LGPL-3 " src ="https://img.shields.io/badge/licence-LGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/rest-framework/tree/16.0/rest_log "> < img alt ="OCA/rest-framework " src ="https://img.shields.io/badge/github-OCA%2Frest--framework-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/rest-framework-16-0/rest-framework-16-0-rest_log "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/rest-framework&target_branch=16.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
371
+ < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/lgpl-3.0-standalone.html "> < img alt ="License: LGPL-3 " src ="https://img.shields.io/badge/licence-LGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/rest-framework/tree/18.0/rest_log "> < img alt ="OCA/rest-framework " src ="https://img.shields.io/badge/github-OCA%2Frest--framework-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/rest-framework-18-0/rest-framework-18-0-rest_log "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/rest-framework&target_branch=18.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
373
372
< p > When exposing REST services is often useful to see what’s happening
374
373
especially in case of errors.</ p >
375
- < p > This module add DB logging for REST requests.
376
- It also inject in the response the URL of the log entry created.</ p >
377
- < p > NOTE: this feature was implemented initially inside shopfloor app.
378
- Up to version 13.0.1.2.1 of this module,
379
- if shopfloor is installed, log records will be copied from its table.</ p >
374
+ < p > This module add DB logging for REST requests. It also inject in the
375
+ response the URL of the log entry created.</ p >
376
+ < p > NOTE: this feature was implemented initially inside shopfloor app. Up to
377
+ version 13.0.1.2.1 of this module, if shopfloor is installed, log
378
+ records will be copied from its table.</ p >
380
379
< p > < strong > Table of contents</ strong > </ p >
381
380
< div class ="contents local topic " id ="contents ">
382
381
< ul class ="simple ">
@@ -403,20 +402,23 @@ <h1 class="title">REST Log</h1>
403
402
< h1 > < a class ="toc-backref " href ="#toc-entry-1 "> Configuration</ a > </ h1 >
404
403
< div class ="section " id ="logs-retention ">
405
404
< h2 > < a class ="toc-backref " href ="#toc-entry-2 "> Logs retention</ a > </ h2 >
406
- < p > Logs are kept in database for every REST requests made by a client application.
407
- They can be used for debugging and monitoring of the activity.</ p >
408
- < p > The Logs menu is shown only with Developer tools (< tt class ="docutils literal "> < span class ="pre "> ?debug=1</ span > </ tt > ) activated.</ p >
409
- < p > By default, REST logs are kept 30 days.
410
- You can change the duration of the retention by changing the System Parameter
405
+ < p > Logs are kept in database for every REST requests made by a client
406
+ application. They can be used for debugging and monitoring of the
407
+ activity.</ p >
408
+ < p > The Logs menu is shown only with Developer tools (< tt class ="docutils literal "> < span class ="pre "> ?debug=1</ span > </ tt > )
409
+ activated.</ p >
410
+ < p > By default, REST logs are kept 30 days. You can change the duration of
411
+ the retention by changing the System Parameter
411
412
< tt class ="docutils literal "> rest.log.retention.days</ tt > .</ p >
412
413
< p > If the value is set to 0, the logs are not stored at all.</ p >
413
- < p > Logged data is: request URL and method, parameters, headers, result or error.</ p >
414
+ < p > Logged data is: request URL and method, parameters, headers, result or
415
+ error.</ p >
414
416
</ div >
415
417
< div class ="section " id ="logs-activation ">
416
418
< h2 > < a class ="toc-backref " href ="#toc-entry-3 "> Logs activation</ a > </ h2 >
417
419
< p > You have 2 ways to activate logging:</ p >
418
420
< ul class ="simple ">
419
- < li > on the service component set < cite > _log_calls_in_db = True</ cite > </ li >
421
+ < li > on the service component set _log_calls_in_db = True</ li >
420
422
< li > via configuration</ li >
421
423
</ ul >
422
424
< p > In the 1st case, calls will be always be logged.</ p >
@@ -441,7 +443,7 @@ <h1><a class="toc-backref" href="#toc-entry-6">Bug Tracker</a></h1>
441
443
< p > Bugs are tracked on < a class ="reference external " href ="https://github.com/OCA/rest-framework/issues "> GitHub Issues</ a > .
442
444
In case of trouble, please check there if your issue has already been reported.
443
445
If you spotted it first, help us to smash it by providing a detailed and welcomed
444
- < a class ="reference external " href ="https://github.com/OCA/rest-framework/issues/new?body=module:%20rest_log%0Aversion:%2016 .0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** "> feedback</ a > .</ p >
446
+ < a class ="reference external " href ="https://github.com/OCA/rest-framework/issues/new?body=module:%20rest_log%0Aversion:%2018 .0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** "> feedback</ a > .</ p >
445
447
< p > Do not contact contributors directly about support or help with technical issues.</ p >
446
448
</ div >
447
449
< div class ="section " id ="credits ">
@@ -472,15 +474,13 @@ <h2><a class="toc-backref" href="#toc-entry-10">Other credits</a></h2>
472
474
< div class ="section " id ="maintainers ">
473
475
< h2 > < a class ="toc-backref " href ="#toc-entry-11 "> Maintainers</ a > </ h2 >
474
476
< p > This module is maintained by the OCA.</ p >
475
- < a class ="reference external image-reference " href ="https://odoo-community.org ">
476
- < img alt ="Odoo Community Association " src ="https://odoo-community.org/logo.png " />
477
- </ a >
477
+ < a class ="reference external image-reference " href ="https://odoo-community.org "> < img alt ="Odoo Community Association " src ="https://odoo-community.org/logo.png " /> </ a >
478
478
< p > OCA, or the Odoo Community Association, is a nonprofit organization whose
479
479
mission is to support the collaborative development of Odoo features and
480
480
promote its widespread use.</ p >
481
481
< p > Current < a class ="reference external " href ="https://odoo-community.org/page/maintainer-role "> maintainer</ a > :</ p >
482
482
< p > < a class ="reference external image-reference " href ="https://github.com/simahawk "> < img alt ="simahawk " src ="https://github.com/simahawk.png?size=40px " /> </ a > </ p >
483
- < p > This module is part of the < a class ="reference external " href ="https://github.com/OCA/rest-framework/tree/16 .0/rest_log "> OCA/rest-framework</ a > project on GitHub.</ p >
483
+ < p > This module is part of the < a class ="reference external " href ="https://github.com/OCA/rest-framework/tree/18 .0/rest_log "> OCA/rest-framework</ a > project on GitHub.</ p >
484
484
< p > You are welcome to contribute. To learn how please visit < a class ="reference external " href ="https://odoo-community.org/page/Contribute "> https://odoo-community.org/page/Contribute</ a > .</ p >
485
485
</ div >
486
486
</ div >
0 commit comments