OXXus.net: Web Hosting 2007 October:: do you have a question related to it? print to standard error if debug messages are wanted, and otherwise just ignore it? http://www.oxxus.net/blog/archives/date/2007/10/page/12HOME | Hi, I'd like to print messages from my python script in the terminal window from which I opened xbmc. For debugging purposes.
I read you can just do that by using print(). But I don't see messages in the terminal. Guildwatch: The calm before the Storm Peaks - WoW Insider:: led to scrubs going OMG newb you only killed hundreds. GTFO type Terminal Tips: Enable Address Book debug menu. iPhone triples market share in Q3 2008 http://www.wowinsider.com/2008/11/25/guildwatch-the-calm-before-the-storm-peaks/2HOME |
My script operates from one threading.Thread. Does that make debug messages unavailable or is there another way?
I hope this help: AOS Message Board:: AOS Forum. Login or Register Members Calendar News Search Statistics: 81 people online; 2,404 members; 8,090 topics; 30,898 messages; 1,930,518 words http://orchidweb.org/aos/MessageBoard/DB_Search.aspx?fid=10HOME | comp.os.linux.setup: By Thread:: ez Question in Fedora Jason Huang (01/29/05) 1 replies newB (01/06/05) 2 replies. philosophy of mounting things in unices ux (01/06/05) 9 replies http://linux.derkeiler.com/Newsgroups/comp.os.linux.setup/2005-01HOME |
You can use something like xbmc.log('MYSCRIPT: my message'), and, in the terminal, the command "tail -f /xbmc.log grep MYSCRIPT" will show your log messages.
If you have windows, there is "tail" and "grep" commands available too.
Thanks!
I use linux, will work fine.
Where's The Advantage In Windows Genuine Advantage?
Stocks Bounce After S&P Joins Bear Market
|