Hi,
What is the use / purpose of logging menu ?
Settings -> Technical -> Database structure -> Logging
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
What is the use / purpose of logging menu ?
Settings -> Technical -> Database structure -> Logging
I use this menu as PRINT :)
When you are not able to access Terminal/command promt(on client server, saas)
And you want to print something for checking, at that time this menu will help.
If you go to Server Action -> and select Execute Python Code
"PYTHON CODE" tab will visible, There are default comments, in that you can see this one
# - log : log(message), function to log debug information in logging table
here, when you don't know what is inside the field, you can check it like
log(">>>>>Next number is %s" % record.number)
After executing this action a new record will created in logging(in that table 'Function' will store your action name)
Now, go to -> Logging menu , Find new record by your action name and in that record you can see "Message" field.
That's what our print result ;)
thanks
Useful in many cases, suppose you want to log xml requests inside database then you can use logging..
thanks for the response, can you give some more explanation on the same
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Nov 24
|
19484 | ||
|
1
Sep 23
|
2285 | ||
|
3
May 23
|
5050 | ||
|
7
Apr 23
|
48293 | ||
Barcode scanner from mobile
Solved
|
|
1
Dec 22
|
7265 |
Logging Menu: https://www.youtube.com/watch?v=tFR_z4J7p28&list=PLqRRLx0cl0hoOYZzwtNH_0bqgF_ROGa8w&index=7