Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
8774 Zobrazení

I unable to see total print statement data in terminal. I want to see this result in log file. Is it possible?

Avatar
Zrušit
Nejlepší odpověď

In the Log File Print Output using the below code in python:-

    _logger = logging.getLogger(__name__)

   output = "sample result"

  _logger.exception('In the Log file to view the  %s', output)

 

Avatar
Zrušit
Autor

Prakash, I am getting this error "Not enough space handle_pageBegin args=() (, ValueError('Not enough space\n handle_pageBegin args=()',), ) " while printing invoice. Can you please help me?. Refer this question "https://www.odoo.com/forum/help-1/question/invoice-print-giving-this-error-not-enough-space-handle-pagebegin-args-type-exceptions-valueerror-valueerror-not-enough-space-n-handle-pagebegin-args-traceback-object-at-0x7fdb1c796950-can-any-one-please-help-me-62861"

Related Posts Odpovědi Zobrazení Aktivita
1
bře 15
5954
1
bře 15
3935
Odoo Log File Vyřešeno
1
úno 25
1478
2
led 22
9219
7
led 23
13852