Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
8664 Ansichten

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

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
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"

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
März 15
5855
1
März 15
3839
1
Feb. 25
1305
2
Jan. 22
9068
7
Jan. 23
13744