boot4-migration: fix dropped first character in the properties-migrator transcript
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4VQVEJWetTT1dYzyJ
This commit is contained in:
@@ -2,8 +2,8 @@ $ # s6 = s3 + spring-boot-properties-migrator (runtime scope)
|
|||||||
[INFO] BUILD SUCCESS
|
[INFO] BUILD SUCCESS
|
||||||
app started
|
app started
|
||||||
$ grep -iE 'propert|logging.file|migrat' run.log # what the migrator printed at start-up
|
$ grep -iE 'propert|logging.file|migrat' run.log # what the migrator printed at start-up
|
||||||
WARN 2635 --- [ main] o.s.b.c.p.m.PropertiesMigrationListener :
|
WARN 6819 --- [ main] o.s.b.c.p.m.PropertiesMigrationListener :
|
||||||
he use of configuration keys that have been renamed was found in the environment:
|
The use of configuration keys that have been renamed was found in the environment:
|
||||||
Property source 'Config resource 'class path resource [application.properties]' via location 'optional:classpath:/'':
|
Property source 'Config resource 'class path resource [application.properties]' via location 'optional:classpath:/'':
|
||||||
Key: logging.file.max-history
|
Key: logging.file.max-history
|
||||||
Replacement: logging.logback.rollingpolicy.max-history
|
Replacement: logging.logback.rollingpolicy.max-history
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ sed -i 's#<dependency><groupId>org.springframework.boot</groupId><artifactId>spr
|
|||||||
mv_ "$W/s6" -DskipTests package | grep -E 'ERROR|BUILD'
|
mv_ "$W/s6" -DskipTests package | grep -E 'ERROR|BUILD'
|
||||||
start migrator "$W/s6/target/migration-demo-1.0.0.jar" && echo "app started" || echo "app did not start"
|
start migrator "$W/s6/target/migration-demo-1.0.0.jar" && echo "app started" || echo "app did not start"
|
||||||
hdr "grep -iE 'propert|logging.file|migrat' run.log # what the migrator printed at start-up"
|
hdr "grep -iE 'propert|logging.file|migrat' run.log # what the migrator printed at start-up"
|
||||||
grep -iE 'logging\.file|PropertiesMigration|The use of configuration keys|Property source|Reason|Replacement' "$W/run-migrator.log" | sed 's/^[0-9T:.+-]* *//' | cut -c1-220 | head -20
|
grep -iE 'logging\.file|PropertiesMigration|The use of configuration keys|Property source|Reason|Replacement' "$W/run-migrator.log" | sed -E 's/^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9:.+]+ +//' | cut -c1-220 | head -20
|
||||||
echo "(lines matching: $(grep -ciE 'logging\.file|PropertiesMigration' "$W/run-migrator.log"))"
|
echo "(lines matching: $(grep -ciE 'logging\.file|PropertiesMigration' "$W/run-migrator.log"))"
|
||||||
stop; } > "$OUT/05-properties-migrator.txt"
|
stop; } > "$OUT/05-properties-migrator.txt"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user