Skip to content

Commit ef41cca

Browse files
committed
more logs
1 parent fbb0484 commit ef41cca

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

dbos/conductor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ func (c *Conductor) sendResponse(response any, responseType string) error {
575575
return fmt.Errorf("failed to marshal %s: %w", responseType, err)
576576
}
577577

578-
c.logger.Debug("Sending response", "type", responseType)
578+
c.logger.Debug("Sending response", "type", responseType, "len", len(data))
579579

580580
c.writeMu.Lock()
581581
defer c.writeMu.Unlock()

dbos/dbos.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -304,12 +304,6 @@ func NewDBOSContext(inputConfig Config) (DBOSContext, error) {
304304

305305
initExecutor.applicationID = os.Getenv("DBOS__APPID")
306306

307-
initExecutor.logger = initExecutor.logger.With(
308-
//"app_version", initExecutor.applicationVersion, // This is really verbose...
309-
"executor_id", initExecutor.executorID,
310-
//"app_id", initExecutor.applicationID, // This should stay internal
311-
)
312-
313307
// Create the system database
314308
systemDB, err := newSystemDatabase(initExecutor, config.DatabaseURL, initExecutor.logger)
315309
if err != nil {

0 commit comments

Comments
 (0)