Ignore:
Timestamp:
08/05/09 17:48:43 (15 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-729, CAS-1147

Ready to Release: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes

Module(s): Module Names change impacts.

Description: Describe your changes here...

I have changed that almost all log messages are output to casapy.log,
not to the terminal window. After this change, asap becomes to depend on casapy
and is not running in standalone, because asap have to import taskinit module
to access casalogger.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/python/linecatalog.py

    r1603 r1612  
    99from asap import rcParams
    1010import os
     11from taskinit import *
    1112
    1213class linecatalog(lcbase):
     
    3031            msg = "File '%s' not found" % fpath
    3132            if rcParams['verbose']:
    32                 print msg
     33                #print msg
     34                casalog.post( msg, 'WARN' )
    3335                return
    3436            else:
     
    9799                msg = "File %s exists." % name
    98100                if rcParams['verbose']:
    99                     print msg
     101                    #print msg
     102                    casalog.post( msg, 'WARN' )
    100103                    return
    101104                else:
Note: See TracChangeset for help on using the changeset viewer.