Commit Graph

176 Commits

Author SHA1 Message Date
Julien Thewys e69414c7ec [FIX] Log level for registered exported service.
bzr revid: jth@openerp.com-20100826125224-heukli2t66xw83ju
2010-08-26 14:52:24 +02:00
Julien Thewys 6c5a917b6c [IMP] Logs registering of exported services.
bzr revid: jth@openerp.com-20100824081201-7iydeg8a91lslgxy
2010-08-24 10:12:01 +02:00
P. Christeas 077e387bb6 [MERGE] service/http: merged some mixed HTTPd changes by xrg, fixes pending
bzr revid: odo@openerp.com-20100809180832-n5ft8a8q2ixm99f2
2010-08-09 20:08:32 +02:00
Olivier Dony 69cd88bf10 [IMP] logging: fixed DEBUG_RPC logging to be included at DEBUG_SQL level
bzr revid: odo@openerp.com-20100805181045-9h4mdvc6itjr3oiv
2010-08-05 20:10:45 +02:00
P. Christeas, Olivier Dony 7666ac14a7 [MERGE+IMP] logging: merged xrg's branch to set selective logger level + added new 'debug_sql' loglevel to avoid having to modify sql_db.py to enable SQL logging
bzr revid: odo@openerp.com-20100804134900-dfupojmgcj0rjhd2
2010-08-04 15:49:00 +02:00
P. Christeas 726a046bc3 Netsvc: try to have a name for late-start threads.
That may help debugging the threads.

bzr revid: p_christ@hol.gr-20100726093336-urtx99as4zliho69
2010-07-26 12:33:36 +03:00
P. Christeas fab3f04e8b Netsvc: allow late starting of servers
If some server is register after the startAll() (for example, the FTP
server of a secondary db), allow it to start(), but give it a buffer of
1sec before this is done.

Conflicts:

	bin/netsvc.py

bzr revid: p_christ@hol.gr-20100726093336-10htbz41rqx2alut
2010-07-26 12:33:36 +03:00
Olivier Dony 5d16cc715b [IMP] netsvc/netrpc/http_server: introduce timeout for blocking server calls, sort of a busy wait
bzr revid: odo@openerp.com-20100713152244-9jdrem6b2xn50ltt
2010-07-13 17:22:44 +02:00
P. Christeas 09db16f527 Logger: use optional kwargs instead of positional args.
bzr revid: p_christ@hol.gr-20100622111549-sff9q43ahcihgq91
2010-06-22 14:15:49 +03:00
P. Christeas 285e307f25 Logging: Allow rpc to set individual log levels.
bzr revid: p_christ@hol.gr-20100622093547-jax4vg7vp0o6zfz2
2010-06-22 12:35:47 +03:00
P. Christeas 3c3833e824 Logging: don't debug db, by default.
bzr revid: p_christ@hol.gr-20100622092920-4q7eh8bp2vbg85b3
2010-06-22 12:29:20 +03:00
Anup (OpenERP) 67277f6f3d [MERGE] Merged from the main trunk server branch.
bzr revid: ach@tinyerp.com-20100520050727-zdkp6mp65kmfm66o
2010-05-20 10:37:27 +05:30
Christophe Simonis 63355adfc3 [FIX] correct socket closing
lp bug: https://launchpad.net/bugs/574874 fixed

bzr revid: chs@openerp.com-20100518154123-omus9gdr04zts4j0
2010-05-18 17:41:23 +02:00
Elias Hermoso Illera 2f0ff7766a [FIX] DONT pformat() each RPC request !
- move import pformat() statement to top of file
  - until now server was doing pformat() for each RPC request before calling
    notifyChannel function. if we wasn't in LOG_DEBUG_RPC level we lost RAM
    and CPU for nothing.

bzr revid: jvo@tinyerp.com-20100514130602-1r3c31tzpz7g0s0x
2010-05-14 18:36:02 +05:30
Olivier Dony 7f4bcca8d0 [FIX] corrected typo: re-added colored logging, with proper detection of ttys and formatting
bzr revid: odo@openerp.com-20100421111118-2ga10coo7wj9i22e
2010-04-21 13:11:18 +02:00
Olivier Dony a683badf89 [IMP] re-added colored logging, with proper detection of ttys and formatting
bzr revid: odo@openerp.com-20100421101200-n199023d1vwgj08d
2010-04-21 12:12:00 +02:00
Julien Thewys 0eb45de95c [FIX] Removed ANSI output in logging level.
ANSI output changed the builtin log level name.  This actually broke tests as we
rely on the log level name for assertion report.  See comments for indications
to a more appropriate implementation.

bzr revid: jth@openerp.com-20100401191749-j562qu28o0a066m1
2010-04-01 21:17:49 +02:00
Mantavya Gajjar 44b340bf91 [REVIEW]: code formatting and add comment
* remove tabs and place space(4)

bzr revid: mga@mga-20100311055133-cftf0r5zuya3uax8
2010-03-11 11:21:33 +05:30
Julien Thewys 858db998ca [IMP] yaml test: init
bzr revid: jth@openerp.com-20100304094458-rypj37e94wo2oedi
2010-03-04 10:44:58 +01:00
Stephane Wirtel f17afd9d89 [REF] Use the logging module instead of the Logger().notifyChannel() function
bzr revid: stephane@openerp.com-20100303130435-027rr4aw8k1tz4tj
2010-03-03 14:04:35 +01:00
Xavier Morel 9150c0695f [fix] specify PendingDeprecationWarning, not default UserWarning
bzr revid: xmo@tinyerp.com-20100302095809-v2tdjb22ogok3y73
2010-03-02 10:58:09 +01:00
Xavier Morel a7d00eb5f3 [imp] remove mostly unused DEBUG2 logging level
bzr revid: xmo@tinyerp.com-20100302094648-gztszaux31oyfptv
2010-03-02 10:46:48 +01:00
Xavier Morel 0c67a510d7 [imp] Add level names for debug2 and debug_rpc in logging
bzr revid: xmo@tinyerp.com-20100302093610-f1pzzx1ck7e2i6jl
2010-03-02 10:36:10 +01:00
Xavier Morel ea5cf5989f [imp] add PendingDeprecationWarning to netsvc.Logger API
bzr revid: xmo@tinyerp.com-20100302093314-xos9vi0le2f249id
2010-03-02 10:33:14 +01:00
Christophe Simonis 9008ced144 [FIX] typo
bzr revid: chs@tinyerp.com-20100129122220-yexokxsfbaulntm2
2010-01-29 13:22:20 +01:00
Christophe Simonis 52e8a67446 [IMP] add classmethod to remove a service
bzr revid: chs@tinyerp.com-20100129102829-i68neaqgoxqkw6ud
2010-01-29 11:28:29 +01:00
Christophe Simonis cb307f9213 [IMP] rename Service.service_exist to Service.exits (classmethod)
bzr revid: chs@tinyerp.com-20100129101712-ok7fd5y0hnow5fds
2010-01-29 11:17:12 +01:00
HDA (OpenERP) a922f46615 Merge
bzr revid: hda@tinyerp.com-20100113073118-m55980m261js142f
bzr revid: hda@tinyerp.com-20100113073301-p8efntdkv1yanf8a
2010-01-13 13:03:01 +05:30
HDA (OpenERP) 2e183dc153 merged
bzr revid: hda@tinyerp.com-20100112105042-6p5v4yluo29o075l
2010-01-12 16:20:42 +05:30
HDA (OpenERP) 8a887ad4e0 Merged
bzr revid: hda@tinyerp.com-20100112104830-x35l4g08og2gacwo
2010-01-12 16:18:30 +05:30
Xavier Morel 33aa27dbb3 [imp] replace hasattr-based conditionals by getattrs
bzr revid: xmo@tinyerp.com-20100103140811-0xnljbidnvomstg0
2010-01-03 15:08:11 +01:00
Fabien Pinckaers 4036e5ad70 [IMP] removed extra logs
bzr revid: fp@tinyerp.com-20091209100604-r49vwzfmhpd1h1ik
2009-12-09 11:06:04 +01:00
hda (Tiny) 24cd74becf Merge
bzr revid: hda@tinyerp.com-20091208101246-5ave2zzgzsjqf0m8
2009-12-08 15:42:46 +05:30
Xavier Morel 9bb02a1bb0 [fix] use env for python shebang rather than hardcoding /usr/bin/python
bzr revid: xmo@tinyerp.com-20091202100658-d2q66mu6kihgj8h5
2009-12-02 11:06:58 +01:00
Xavier Morel fdcbed339b [FIX] hang in OSX when trying to shutdown server via SIGINT
bzr revid: xmo@tinyerp.com-20091127120938-arrvoqieit1bqx9c
2009-11-27 13:09:38 +01:00
Harry (Open ERP) d8ce3f1e2a [FIX] replaced <TAB> with four white space.
bzr revid: hmo@tinyerp.com-20091124144405-9mzd91chohvf0uu7
2009-11-24 20:14:05 +05:30
xrg dad1ff955b [merge] merge from lp:~xrg/openobject-server/optimize-5.0 and removed some confilts
bzr revid: hmo@tinyerp.com-20091120143104-tb6136unkdw7yfy9
2009-11-20 20:01:04 +05:30
Jay (Open ERP) 526bfa6627 [IMP] Request View : Improvements
lp bug: https://launchpad.net/bugs/474312 fixed

bzr revid: jvo@tinyerp.com-20091106100623-qi5y3kr9u1jv4bio
2009-11-06 15:36:23 +05:30
Ferdinand(ChriCar) d6e310d787 Better Error message on service denial
lp bug: https://launchpad.net/bugs/462080 fixed

bzr revid: hda@tinyerp.com-20091028124810-l2n6uqg1laqmc0er
2009-10-28 18:18:10 +05:30
P. Christeas 879199c6b7 Server: get_stats() RPC call for any extended info.
With this call, we can learn about the internals of the OpenObject server
in runtime.
At the moment, designed to give info on the running servers (RPC).

bzr revid: p_christ@hol.gr-20091028003033-b5hzgcjy9kncyc0d
2009-10-28 02:30:33 +02:00
P. Christeas cac0ce70e4 Netsvc.Server: Expand tabs
bzr revid: p_christ@hol.gr-20091027223937-ajgpml2uh2afe988
2009-10-28 00:39:37 +02:00
pap(openerp) 251b6720ca Changed encoding to coding ref: PEP: 0263
bzr revid: hda@tinyerp.com-20091020105223-2o94yr2iv2v10axr
2009-10-20 16:22:23 +05:30
PSO(OpenERP) 4d7134cd99 Changed licencing
bzr revid: hda@tinyerp.com-20091014123215-nuyqs18090whzt5o
2009-10-14 18:02:15 +05:30
P. Christeas bb2722ed64 New API: work better for bad ExportServices.
Using the partially ported koo/subscription service, discovered that
'None' would be returned, which leads to an exception.

bzr revid: p_christ@hol.gr-20091003090003-z9m8yyp08vxnor0s
2009-10-03 12:00:03 +03:00
P. Christeas 71d5ee956a Merge remote branch 'origin/master', v5.0.6 into optimize
Conflicts:
	bin/addons/base/ir/ir_cron.py
	bin/netsvc.py
	bin/osv/orm.py

bzr revid: p_christ@hol.gr-20090925204745-352t3ngsltr4cj8a
2009-09-25 23:47:45 +03:00
Fabien Pinckaers 9513616ae1 [FIX] better log error, new line
bzr revid: fp@tinyerp.com-20090909145411-8k6rksq74xyz1nw4
2009-09-09 16:54:11 +02:00
P. Christeas b098c935e9 Fix raising of exception.
bzr revid: p_christ@hol.gr-20090908081456-kk89t2imfe1a6b7i
2009-09-08 11:14:56 +03:00
P. Christeas 643b76682a Don't print messages, log them..
bzr revid: p_christ@hol.gr-20090903130145-iybg1xtmxg6xylhk
2009-09-03 16:01:45 +03:00
P. Christeas 9e2d058641 Fix merging of 5.0.4 into API-changed netsvc.
bzr revid: p_christ@hol.gr-20090901222455-y8yozw41ovizkne1
2009-09-02 01:24:55 +03:00
P. Christeas ceef9b0be9 Merge branch 'xrg' into rfc, 5.0.4 patch obsolete.
Conflicts:
	bin/netsvc.py

bzr revid: p_christ@hol.gr-20090901210513-xc3f51eobxdv4g1b
2009-09-02 00:05:13 +03:00