Serving: Error at model server startup if logging_config is set

Created on 18 Apr 2017  路  9Comments  路  Source: tensorflow/serving

Model server config (text formatted protobuf):

model_config_list {
  config {
    name: "default"
    base_path: "/data/model"
    model_platform: "tensorflow"
    version_policy: ALL_VERSIONS
    logging_config {
      log_collector_config {
        type: "",
        filename_prefix: "/log/model-server"
      }
      sampling_config {
        sampling_rate: 1
      }
    }
  }
}

Startup fails with the following error:

F tensorflow_serving/model_servers/main.cc:445] Check failed: ::tensorflow::Status::OK() == (ServerCore::Create(std::move(options), &core)) (OK vs. Invalid argument: No request-logger-creator provided.)
needs prio awaiting tensorflower bug

Most helpful comment

any updates on this?

All 9 comments

From a quick check, it looks like it attempts to perform an update without access to a request logger creator when the logging config map is not empty.

@vinuraja, is this expected?

This still happens in r0.6 branch. Any info?

I also stumbled across this error. I'm just trying to get some logging out of the sample model server. Specifically to log the requests and responses.

This still happens in r1.5 branch. Any info?

Thanks for reporting this. Sorry, this is expected at this point in time. We haven't yet added full support for logging requests to the model-server. We are having design discussions on this within the team, and will get back to you.

@vinuraja Any update on this ?

Please provide an update on this. Thanks.

Is there any workaround to log the requests rather than enable the TF_CPP_MIN_VLPG_LEVEL flag? thanks.

any updates on this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marcoadurno picture marcoadurno  路  3Comments

cchung100m picture cchung100m  路  4Comments

demiladef picture demiladef  路  4Comments

rsk-07 picture rsk-07  路  3Comments

akkiagrawal94 picture akkiagrawal94  路  3Comments