Skip to content

Commit 23629f4

Browse files
authored
Update LoggerFactory.php
Fixed #2
1 parent c34d7cd commit 23629f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apm/logger/LoggerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static function create(?string $runwayConfigPath = null): LoggerInterface
2323
$storageType = $runwayConfig['apm']['source_type'];
2424
switch($storageType) {
2525
case 'sqlite':
26-
return new SqliteLogger($runwayConfig['apm']['dest_db_dsn']);
26+
return new SqliteLogger($runwayConfig['apm']['source_db_dsn']);
2727
default:
2828
throw new InvalidArgumentException("Unsupported storage type: $storageType");
2929
}

0 commit comments

Comments
 (0)