Odoo Help


How can i add print statement result to logfile?

on 8/27/14, 9:40 AM 973 views

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

On 8/27/14, 10:00 AM

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"

on 9/24/14, 8:58 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 8/27/14, 9:40 AM
Seen: 973 times
Last updated: 3/16/15, 8:10 AM