Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
8640 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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)

 

อวตาร
ละทิ้ง
ผู้เขียน

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 ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 15
5831
1
มี.ค. 15
3813
Odoo Log File แก้ไขแล้ว
1
ก.พ. 25
1268
2
ม.ค. 22
9027
Odoo database grows quickly แก้ไขแล้ว
7
ม.ค. 23
13711