|
StreamRedirect
Since all server components should exclusively using the logging
module any output to stdout or stderr is caught and logged at
"WARN".
|
|
Dependency
Centralized logic for declaring and logging a service dependency on
a non-shipped library.
|
|
ServerContext
Context passed to all servants.
|
|
Server
Basic server implementation which can be used for implementing a
standalone python server which can be started from icegridnode.
|
|
SimpleServant
Base servant initialization.
|
|
Servant
Abstract servant which can be used along with a slice2py generated
dispatch class as the base type of high-level servants.
|
|
Resources
Container class for storing resources which should be cleaned up on
close and periodically checked.
|
|
Environment
Simple class for creating an executable environment
|
|
make_logname(self)
Generates a logname from the given instance using the module and name
from its class |
source code
|
|
|
configure_logging(logdir=None,
logfile=None,
loglevel=LOGLEVEL,
format=LOGFORMAT,
filemode=LOGMODE,
maxBytes=LOGSIZE,
backupCount=LOGNUM,
time_rollover=False) |
source code
|
|
|
configure_server_logging(props)
Takes an Ice.Properties instance and configures logging |
source code
|
|
|
internal_service_factory(communicator,
user="root",
group=None,
retries=6,
interval=10,
client_uuid=None,
stop_event=None)
Try to return a ServiceFactory from the grid. |
source code
|
|
|
|
|
|
|
long_to_path(id,
root="")
Converts a long to a path such that for all directiories only a 1000
files and a 1000 subdirectories will be returned. |
source code
|
|
|
|
|
|
|
|
|
tail_lines(filename,
linesback=10,
returnlist=0)
Does what "tail -10 filename" would have done Parameters: |
source code
|
|