logFilePropertiesCanReferenceSystemProperties() — spring-boot Function Reference
Architecture documentation for the logFilePropertiesCanReferenceSystemProperties() function in LoggingApplicationListenerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 260c6a51_00f9_d158_4062_1a1ef1ef017e["logFilePropertiesCanReferenceSystemProperties()"] e4941a37_d532_8edb_200f_24a620639c51["addPropertiesToEnvironment()"] 260c6a51_00f9_d158_4062_1a1ef1ef017e -->|calls| e4941a37_d532_8edb_200f_24a620639c51 2708db62_8b10_9bf2_e348_171895b093f2["initialize()"] 260c6a51_00f9_d158_4062_1a1ef1ef017e -->|calls| 2708db62_8b10_9bf2_e348_171895b093f2 a74a6404_ac0b_ef50_4554_48366dd90b97["getEnvironment()"] 260c6a51_00f9_d158_4062_1a1ef1ef017e -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97 49a45454_f203_2fd5_2d77_322abb416244["getClassLoader()"] 260c6a51_00f9_d158_4062_1a1ef1ef017e -->|calls| 49a45454_f203_2fd5_2d77_322abb416244 fa6de724_885f_0a05_6b1b_5697fdfbd981["getSystemProperty()"] 260c6a51_00f9_d158_4062_1a1ef1ef017e -->|calls| fa6de724_885f_0a05_6b1b_5697fdfbd981 375f3dee_a016_4975_ccff_5224a938466e["ApplicationPid()"] 260c6a51_00f9_d158_4062_1a1ef1ef017e -->|calls| 375f3dee_a016_4975_ccff_5224a938466e 73fb701d_6a3f_20fa_da76_dfb575f57a42["toString()"] 260c6a51_00f9_d158_4062_1a1ef1ef017e -->|calls| 73fb701d_6a3f_20fa_da76_dfb575f57a42 style 260c6a51_00f9_d158_4062_1a1ef1ef017e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerTests.java lines 528–534
@Test
void logFilePropertiesCanReferenceSystemProperties() {
addPropertiesToEnvironment(this.context, "logging.file.name=" + this.tempDir + "${PID}.log");
this.listener.initialize(this.context.getEnvironment(), getClassLoader());
assertThat(getSystemProperty(LoggingSystemProperty.LOG_FILE))
.isEqualTo(this.tempDir + new ApplicationPid().toString() + ".log");
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does logFilePropertiesCanReferenceSystemProperties() do?
logFilePropertiesCanReferenceSystemProperties() is a function in the spring-boot codebase.
What does logFilePropertiesCanReferenceSystemProperties() call?
logFilePropertiesCanReferenceSystemProperties() calls 7 function(s): ApplicationPid, addPropertiesToEnvironment, getClassLoader, getEnvironment, getSystemProperty, initialize, toString.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free