mirror of
https://github.com/corda/corda.git
synced 2024-12-21 05:53:23 +00:00
Minor: print a deprecation warning when the web server starts.
This commit is contained in:
parent
9a16011448
commit
831df4bc3d
@ -36,6 +36,9 @@ fun main(args: Array<String>) {
|
||||
|
||||
System.setProperty("log-path", (cmdlineOptions.baseDirectory / "logs/web").toString())
|
||||
val log = LoggerFactory.getLogger("Main")
|
||||
println("This Corda-specific web server is deprecated and will be removed in future.")
|
||||
println("Please switch to a regular web framework like Spring, J2EE or Play Framework.")
|
||||
println()
|
||||
println("Logs can be found in ${System.getProperty("log-path")}")
|
||||
|
||||
val conf = try {
|
||||
|
Loading…
Reference in New Issue
Block a user